Deck 2: C Programming Language

ملء الشاشة (f)
exit full mode
سؤال
Total Number Of Keywords In C Are

A)30
B)12
C)34
D)32
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The Compiler In C Ignores All Text Till The End Of Line Using

A)//
B)/
C)*/
D)/*/
سؤال
Printf() Belongs To Which Library Of C

A)Stdlib.H
B)Stdio.H
C)Stdout.H
D)Stdoutput.H
سؤال
What Is Correct Order Of Precedence In C

A)Addition, Division, Modulus
B)Addition, Modulus, Division
C)Multiplication, Substration, Modulus
D)Modulus, Multiplication, Substration
سؤال
Int Main() {
Extern Int I;
I = 20;
Printf("%D", Sizeof(I));
Return 0;
}

A)20
B)0
C)Undefined Reference To I
D)Linking Error
سؤال
Is The Following Statement A Declaration Or Definition Extern Int I;

A)Declaration
B)Definition
C)none
D)all
سؤال
Int Main() {
Int X = 10;
{
Int X = 0;
Printf("%D",X);
}
Return 0;
}

A)10
B)Compilation Error
C)'0'
D)Undefined
سؤال
//This Program Is Compiled On 32 Bit DEV-C++
Int Main()
{
Char *Ptr1, *Ptr2;
Printf("%D %D", Sizeof(Ptr1), Sizeof(Ptr2));
Return 0;
}

A)1 1
B)2 2
C)4 4
D)none
سؤال
What Should Be The Output:
Int Main()
{
Int A = 10/3;
Printf("%D",A);
Return 0;
}

A)3.33
B)3.0
C)3
D)Option.
سؤال
Which Of The Following Is Executed By Preprocess?

A)#Include<Stdio.H>
B)Return 0
C)Void Main(Int Argc , Char ** Argv)
D)none
سؤال
Int Main() {
Int A = 10.5;
Printf("%D",A);
Return 0;
}

A)10.5
B)10.0
C)10
D)Compilation Error
سؤال
Int Main() {
Int _ = 10;
Int __ = 20;
Int ___ = _ + __;
Printf("__%D",___);
Return 0;
}

A)Compilation Error
B)Runtime Error
C)__0
D)__30
سؤال
Int Main() {
Int A = 5;
Int B = 10;
Int C = A+B;
Printf("%I",C);
}

A)0
B)15
C)Undefined I
D)Any Other Compiler Error
سؤال
int main() {
Int x;x=10,20,30;
Printf("%d",x);
Return 0;
}

A)10
B)20
C)30
D)Compilation Error
سؤال
How many times C.com is printed?
Int main()
{
Int a = 0;
While(a++ < 5-++a)printf("C.com");
Return 0;
}

A)5 times
B)4 times
C)3 times
D)1 times
سؤال
How many times C.com is printed?
Int main()
{
Int a = 0;
While(a++ < 5)printf("C.com");
Return 0;
}

A)5 times
B)4 times
C)3 times
D)1 times
سؤال
How many times C.com is printed?
Int main()
{
Int a = 0;
While(a++)printf("C.com");
Return 0;
}

A)1 time
B)0 time
C)Infinite times(Untill Stack is overflow)
D)2 times
سؤال
How many times C.com is printed?
Int main()
{
Int a = 0;
While(++a){printf("C.com");
}
Return 0;
}

A)1 time
B)Infinite Times(Untill Stack is overflow)
C)2 times
D)Error
سؤال
What is output of below program?
Int main()
{
Int i,j,count;
Count=0;
For(i=0; i<5; i++);
{
For(j=0;j<5;j++);
{
Count++;
}
}printf("%d",count);
Return 0;
}

A)55
B)54
C)1
D)0
سؤال
What is output of below program?
Int main()
{
Int i,j,k,count;
Count=0;
For(i=0;i<5;i++)
{
For(j=0;j<5;j++)
{
Count++;
}
}
Printf("%d",count);
Return 0;
}

A)5
B)10
C)25
D)50
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/20
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 2: C Programming Language
1
Total Number Of Keywords In C Are

A)30
B)12
C)34
D)32
32
2
The Compiler In C Ignores All Text Till The End Of Line Using

A)//
B)/
C)*/
D)/*/
//
3
Printf() Belongs To Which Library Of C

A)Stdlib.H
B)Stdio.H
C)Stdout.H
D)Stdoutput.H
Stdio.H
4
What Is Correct Order Of Precedence In C

A)Addition, Division, Modulus
B)Addition, Modulus, Division
C)Multiplication, Substration, Modulus
D)Modulus, Multiplication, Substration
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
5
Int Main() {
Extern Int I;
I = 20;
Printf("%D", Sizeof(I));
Return 0;
}

A)20
B)0
C)Undefined Reference To I
D)Linking Error
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
6
Is The Following Statement A Declaration Or Definition Extern Int I;

A)Declaration
B)Definition
C)none
D)all
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
7
Int Main() {
Int X = 10;
{
Int X = 0;
Printf("%D",X);
}
Return 0;
}

A)10
B)Compilation Error
C)'0'
D)Undefined
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
8
//This Program Is Compiled On 32 Bit DEV-C++
Int Main()
{
Char *Ptr1, *Ptr2;
Printf("%D %D", Sizeof(Ptr1), Sizeof(Ptr2));
Return 0;
}

A)1 1
B)2 2
C)4 4
D)none
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
9
What Should Be The Output:
Int Main()
{
Int A = 10/3;
Printf("%D",A);
Return 0;
}

A)3.33
B)3.0
C)3
D)Option.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
10
Which Of The Following Is Executed By Preprocess?

A)#Include<Stdio.H>
B)Return 0
C)Void Main(Int Argc , Char ** Argv)
D)none
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
11
Int Main() {
Int A = 10.5;
Printf("%D",A);
Return 0;
}

A)10.5
B)10.0
C)10
D)Compilation Error
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
12
Int Main() {
Int _ = 10;
Int __ = 20;
Int ___ = _ + __;
Printf("__%D",___);
Return 0;
}

A)Compilation Error
B)Runtime Error
C)__0
D)__30
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
13
Int Main() {
Int A = 5;
Int B = 10;
Int C = A+B;
Printf("%I",C);
}

A)0
B)15
C)Undefined I
D)Any Other Compiler Error
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
14
int main() {
Int x;x=10,20,30;
Printf("%d",x);
Return 0;
}

A)10
B)20
C)30
D)Compilation Error
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
15
How many times C.com is printed?
Int main()
{
Int a = 0;
While(a++ < 5-++a)printf("C.com");
Return 0;
}

A)5 times
B)4 times
C)3 times
D)1 times
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
16
How many times C.com is printed?
Int main()
{
Int a = 0;
While(a++ < 5)printf("C.com");
Return 0;
}

A)5 times
B)4 times
C)3 times
D)1 times
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
17
How many times C.com is printed?
Int main()
{
Int a = 0;
While(a++)printf("C.com");
Return 0;
}

A)1 time
B)0 time
C)Infinite times(Untill Stack is overflow)
D)2 times
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
18
How many times C.com is printed?
Int main()
{
Int a = 0;
While(++a){printf("C.com");
}
Return 0;
}

A)1 time
B)Infinite Times(Untill Stack is overflow)
C)2 times
D)Error
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
19
What is output of below program?
Int main()
{
Int i,j,count;
Count=0;
For(i=0; i<5; i++);
{
For(j=0;j<5;j++);
{
Count++;
}
}printf("%d",count);
Return 0;
}

A)55
B)54
C)1
D)0
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
20
What is output of below program?
Int main()
{
Int i,j,k,count;
Count=0;
For(i=0;i<5;i++)
{
For(j=0;j<5;j++)
{
Count++;
}
}
Printf("%d",count);
Return 0;
}

A)5
B)10
C)25
D)50
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 20 في هذه المجموعة.