c test questions and answers pdf


Online written test questions and answers in c programming language in pdf form free to download



This PDF doc keeps  sample test questions and answers of c programming language. To free download this pdf doc go to File -> download Original 

16 comments:

mayuresh/ shrimant said...

cool.........

Unknown said...

how to download this file?

Unknown said...

What is the output of the following code?

#include

void main()

{

int arr[2][3][2]={{{2,4},{7,8},{3,4},}, {{2,2},{2,3},{3,4}, }};

printf("\n%d",**(*arr+1)+2+7);

}
the answer is 16
i did all possible combinations to figure it out
but was not able to
pz just help me out

Unknown said...

what is the output of the following program?
main ( )
{
int x=100, y=200;
print f ( "%d,(x>y)? x:y);
}

Unknown said...

what is the output of the following program? explain the output.

main( )
{
int x=10;
if ( x=20) print f("TRUE");
else print f ( "FALSE");
}

Unknown said...

plz just help me out

Unknown said...

Gilbert the answer is TRUE because the if condition is TRUE. Think out of the box :P

Anonymous said...

The below code(7 question in above test) shows "Lvalue required" error while compiling. Plz explain answer. Thanks in advance.

#include
int main(){
int i;
(i=8)+=1;
printf("%d",i);
return 0;
}

Arun said...

Hi any one can tel me how to download these files?

Unknown said...

0

Unknown said...

just click the pop out option on top of this file and download from google drive. hope this helps.

Unknown said...

u declare that x=10 after u cheak the condition with if. the condition is false the it executes else statement
output is false

Unknown said...

the op is error becoz u didnt mention " " in printf
we should write the condition like this
printf("%d",x>y?x:y);

Unknown said...

How to download the file

Anonymous said...

just click up arrow like icon on the top of this file....u will find an download option

Unknown said...

200