Exam 2: C Programming Language
Exam 1: Computer Basics and C Programming18 Questions
Exam 2: C Programming Language20 Questions
Exam 3: Loops, Headers, Macros, and Arrays53 Questions
Select questions type
How many times C.com is printed?
Int main()
{
Int a = 0;
While(a++)printf("C.com");
Return 0;
}
Free
(Multiple Choice)
4.8/5
(40)
Correct Answer:
B
Int Main() {
Int X = 10;
{
Int X = 0;
Printf("%D",X);
}
Return 0;
}
Free
(Multiple Choice)
4.8/5
(41)
Correct Answer:
C
What Is Correct Order Of Precedence In C
Free
(Multiple Choice)
4.8/5
(34)
Correct Answer:
D
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;
}
(Multiple Choice)
4.8/5
(28)
Int Main() {
Int A = 5;
Int B = 10;
Int C = A+B;
Printf("%I",C);
}
(Multiple Choice)
4.8/5
(33)
How many times C.com is printed?
Int main()
{
Int a = 0;
While(a++ < 5)printf("C.com");
Return 0;
}
(Multiple Choice)
4.9/5
(44)
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;
}
(Multiple Choice)
4.7/5
(38)
What Should Be The Output:
Int Main()
{
Int A = 10/3;
Printf("%D",A);
Return 0;
}
(Multiple Choice)
4.9/5
(35)
Int Main() {
Int _ = 10;
Int __ = 20;
Int ___ = _ + __;
Printf("__%D",___);
Return 0;
}
(Multiple Choice)
4.9/5
(34)
The Compiler In C Ignores All Text Till The End Of Line Using
(Multiple Choice)
4.8/5
(29)
How many times C.com is printed?
Int main()
{
Int a = 0;
While(++a){printf("C.com");
}
Return 0;
}
(Multiple Choice)
4.7/5
(43)
Int Main() {
Extern Int I;
I = 20;
Printf("%D", Sizeof(I));
Return 0;
}
(Multiple Choice)
4.8/5
(34)
How many times C.com is printed?
Int main()
{
Int a = 0;
While(a++ < 5-++a)printf("C.com");
Return 0;
}
(Multiple Choice)
4.8/5
(34)
//This Program Is Compiled On 32 Bit DEV-C++
Int Main()
{
Char *Ptr1, *Ptr2;
Printf("%D %D", Sizeof(Ptr1), Sizeof(Ptr2));
Return 0;
}
(Multiple Choice)
4.9/5
(33)
Is The Following Statement A Declaration Or Definition Extern Int I;
(Multiple Choice)
4.8/5
(33)
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)