What is the best way to comment out a section of code that contains comments?
No Answer is Posted For this Question
Be the First to Post Answer
#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?
write a “Hello World” program in “c” without using a semicolon?
What are compound statements?
What is the role of && operator in a program code?
main() { int x=5,y=10,z=0; x=x++ + y++; y=y++ + ++x; z=x++ + ++y; printf("%d%d%d\n",x,y,z); }
what is output? main() { #define SQR(x) x++ * ++x int i = 3; printf(" %d %d ",SQR(i),i * SQR(i)); } a)9 27 b)35 60 c)20 60 d)15 175
Write a program for print infinite numbers
Why is struct padding needed?
How do we open a binary file in Read/Write mode in C?
Can i use Two or More Main Funtion in any C program.?
How do I determine whether a character is numeric, alphabetic, and so on?
Three major criteria of scheduling.