for(;;)
printf("C language")

What is out put of above??

Answers were Sorted based on User's Feedback



for(;;) printf("C language") What is out put of above??..

Answer / himanshu rajput

it will go infinitely,produce c language infinite time.

Is This Answer Correct ?    11 Yes 1 No

for(;;) printf("C language") What is out put of above??..

Answer / anilsn

compilation error, ; should be at the end of printf

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More C Interview Questions

write a program to print %d ?

12 Answers  


what is the difference b/w compiler and debugger?

2 Answers   Assurgent,


How can you be sure that a program follows the ANSI C standard?

0 Answers   Aspire, Infogain,


Explain the array representation of a binary tree in C.

0 Answers   Genpact,


What is Generic pointer? What is the purpose of Generic pointer? Where it is used?

3 Answers  






#include<stdio.h> #include<conio.h> void main() {clrscr(); char another='y'; int num; for(;another=='y';) { printf("Enter a number"); scanf("%d",&num); printf("squre of %d is %d",num,num*num); printf("\nwant to enter another number y/n"); scanf("%c",&another); } getch(); } the above code runs only one time.on entering 'y' the screen disappeares.what can i do?

3 Answers  


What are the differences between new and malloc in C?

0 Answers   Amazon,


how to print the character with maximum occurence and print that number of occurence too in a string given ?

0 Answers   Microsoft,


how to print "hai" in c?

13 Answers   TCS,


write a program to convert a expression in polish notation (postfix) to inline (normal)

0 Answers   Siemens,


what is the output for the code : main() { int i,j; printf("%d %d ",scanf("%d%d",&i,&j)); }

20 Answers   Infosys,


If "AaBbCc" is passed to the char char x(*a) { a[0]?x(a+1):1; printf("%c",a[0]); return 1; } what will be the output?

6 Answers   Hughes,


Categories