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. For 16-bit compiler allowable range for integer constants is ______ ?

 
 
 
 

2. 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++));
}

 
 
 
 

3. 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();
}

 
 
 
 

4. 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++”);
}

 
 
 
 

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

 
 
 
 

6. Who is father of C Language?

 
 
 
 

7. 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;
}

 
 
 
 

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

 
 
 
 

9. 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();
}

 
 
 
 

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

 
 
 
 

11. What is C Tokens?

 
 
 
 

12. 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();
}

 
 
 
 

13. perror( ) function used to ?

 
 
 
 

14. What is Keywords?

 
 
 
 

15. 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;

 
 
 

16. 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”);
}

 
 
 
 

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

 
 
 
 

18. C Language developed at _____?

 
 
 
 

19. What is an array?

 
 
 
 

20. Bitwise operators can operate upon?

 
 
 
 

21. A C variable cannot start with

 
 
 
 

22. What is right way to Initialization array?

 
 
 
 

23. 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);
}

 
 
 
 

24. 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();
}

 
 
 
 

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

 
 
 
 

Question 1 of 25

Anil Computers

Anil Computers

Best computer Institute in Udaipur

Quiz_Anilcomputers1

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