C Programing Question's
Q.1 Who is the Father of C
a. Newton
b. Einstein
c. None
d. Denis Ritchie
Ans: Q.2 C is a?
a. Low Level Langaugae
b. High Level Language
c. Not a Language
d. Moderate
Ans: Q.3 Types of Linkages?
a. External
b. Internal
c. External and None
d. External,Internal and None
Ans:Q.4 int i=2;
i=i+(1,2,3,4,5);
what will be the value of i?
a. Error
b. 3
c. 7
d. 3
Ans:Q5 What will be the out put of the following prog
int main()
{
int i=1;
switch(i)
{
printf(hiiii);
case 1:
printf(hello);
break;
case 2:
printf(bye);
break;
}
getch();
return 0;
}
a. Error
b. hello
c. bye
d. hiiii
Ans:Q6 What will be the out put of the following prog
int main()
{
int i=4;
switch(i/2)
{
printf(hiiii);
case 1:
printf(hello);
break;
case 2:
printf(bye);
break;
default:
printf(default);
}
a. Error
b. hello
c. bye
d. hiiii
Ans:Q6 What will be the out put of the following prog
int main()
{
float i=2.5;
switch(i)
{
case 0.6:
printf(hello);
break;
case 2.5:
printf(bye);
break;
default:
printf(default);
}
a. Error
b. hello
c. bye
d. default
Ans:
No comments:
Post a Comment