How can I make it pause before closing the program output window?
No Answer is Posted For this Question
Be the First to Post Answer
what is ur strangth & weekness
0 Answers Cognizant, LG Soft, NetEnrich,
write a program to concatenation the string using switch case?
How to declare pointer variables?
There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.
What is a rvalue?
what would be the output of the following program? main() { int k = 123; char *ptr; ptr = &k; printf("%d",*ptr); }
What are control structures? What are the different types?
How do we declare variables in c?
What is the main differences between C and Embedded C?
What is a pointer and how it is initialized?
Do variables need to be initialized?
#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?