c_anilcomputers_udaipur

C Language QUIZ 02

Total no of Question = 25

All Questionnaire compulsory to answered

Quiz created by :   Anilcomputersudaipur.com

Add: Anil Computers, 368, Prem Kutir, Univestiy Main Road Nr. Tulsi Garden, Udaipur- 094142 34600

C Language Quiz 02

Please enter your email:

1. Who is father of C Language?

 
 
 
 

2. What will be output if you will compile and execute the following c code?
#include “string.h”
void main(){
clrscr();
printf(“%d %d”,sizeof(“string”),strlen(“string”));
getch();
}

 
 
 
 

3. Which of the following is allowed in a C Arithmetic instruction

 
 
 
 

4. What is C Tokens?

 
 
 
 

5. What will be output if you will compile and execute the following c code?
#define call(x) #x
void main(){
printf(“%s”,call(c/c++));
}

 
 
 
 

6. What will be output if you will compile and execute the following c code?
void main(){
int huge*p=(int huge*)0XC0563331;
int huge*q=(int huge*)0xC2551341;
*p=200;
printf(“%d”,*q);
}

 
 
 
 

7. What is the right way to access value of structure variable book{ price, page }?

 
 
 
 

8. C Language developed at _____?

 
 
 
 

9. Bitwise operators can operate upon?

 
 
 
 

10. What is right way to Initialization array?

 
 
 
 

11. What will be output if you will compile and execute the following c code?
#define message “union is
power of c”
void main(){
clrscr();
printf(“%s”,message);
getch();
}

 
 
 
 

12. What is an array?

 
 
 
 

13. For 16-bit compiler allowable range for integer constants is ______ ?

 
 
 
 

14. What will be output if you will compile and execute the following c code?
void main(){
int i=0;
if(i==0){
i=((5,(i=3)),i=1);
printf(“%d”,i);
}
else
printf(“equal”);
}

 
 
 
 

15. Which of the following shows the correct hierarchy of arithmetic operations in C

 
 
 
 

16. C programs are converted into machine language with the help of:radio::1:1::0:0::0:0::0:0

 
 
 
 

17. What will be output if you will compile and execute the following c code?
void main(){
static main;
int x;
x=call(main);
clrscr();
printf(“%d “,x);
getch();
}
int call(int address){
address++;
return address;
}

 
 
 
 

18. What will be output if you will compile and execute the following c code?
void main(){
int a=25;
clrscr();
printf(“%o %x”,a,a);
getch();
}

 
 
 
 

19. An array elements are always stored in _________ memory locations.

 
 
 
 

20. A C variable cannot start with

 
 
 
 

21. What will be output if you will compile and execute the following c code?
int extern x;
void main()
printf(“%d”,x);
x=2;
getch();
}
int x=23;

 
 
 

22. What will be output if you will compile and execute the following c code?
void main(){
int a,b;
a=1,3,15;
b=(2,4,6);
clrscr();
printf(“%d “,a+b);
getch();
}

 
 
 
 

23. What is Keywords?

 
 
 
 

24. perror( ) function used to ?

 
 
 
 

25. What will be output if you will compile and execute the following c code?
void main(){
if(printf(“cquestionbank”))
printf(“I know c”);
else
printf(“I know c++”);
}

 
 
 
 

Question 1 of 25

Anil Computers

Anil Computers

Best computer Institute in Udaipur

Quiz_Anilcomputers1

सर्टिफिकेट  पाने के लिए अपने रिजल्ट का Screen shot नीचे दिये गये मोबाइल नम्बर पर send करें। Strictly call not allowed.