What is the equivalent code of the following statement in WHILE LOOP format?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Explain what are compound statements?

0 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 should malloc() do?

0 Answers  


what is dangling pointer?

1 Answers   LG Soft,


What is identifier in c?

0 Answers  






Why we use int main and void main?

0 Answers  


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

0 Answers   Wipro,


Why c is a procedural language?

0 Answers  


What is FIFO?

0 Answers  


What is the difference b/w Structure & Class?

3 Answers  


Taking an example,differentiate b/w loader and linker ?

1 Answers  


my name is nani i completed my b-tech in hyd now i want go for interveiw but i dont know the process of software field interveiws plz help me anyone how many rouds there n what rounds plz plz plz help me n where i can get these details

2 Answers  


Categories