main()
{
int i=400,j=300;
printf("%d..%d");
}

Answers were Sorted based on User's Feedback



main() { int i=400,j=300; printf("%d..%d"); } ..

Answer / khaja

it prints bcoz no i,j values are mentioned.

Is This Answer Correct ?    0 Yes 2 No

main() { int i=400,j=300; printf("%d..%d"); } ..

Answer / muthu

It prints only garbage value, since the variables x and y
were not metioned out side the bracket

Is This Answer Correct ?    0 Yes 3 No

main() { int i=400,j=300; printf("%d..%d"); } ..

Answer / suresh reddy

Answer:

400 300

printf takes first two intilization values as default

Is This Answer Correct ?    2 Yes 9 No

Post New Answer

More C Interview Questions

Sir i need notes for structure,functions,pointers in c language can you help me please

0 Answers   TCS,


if ENTERED FIVE DIGITS DESIGN A PROGRAM THAT WILL FIND CORRESPONDING VALUE FROM ASCII TABLE

1 Answers  


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

0 Answers  


Explain do array subscripts always start with zero?

0 Answers  


how to get starting address of a running C program

3 Answers  






What is a program flowchart?

0 Answers  


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

0 Answers  


What does s c mean on snapchat?

0 Answers  


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

0 Answers  


What are the advantages of using macro in c language?

0 Answers  


What is substring in c?

0 Answers  


Is there any book to know about Basics of C Language?

4 Answers  


Categories