Explain what is the benefit of using #define to declare a constant?
No Answer is Posted For this Question
Be the First to Post Answer
what will happen if you free a pointer twice after allocating memory dynamically ?
What is a structure member in c?
What is time complexity c?
what is the diff between the printf and sprintf functions?? and what is the syntax for this two functions ??
What is a MAC Address?
#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?
how can i print "hello".please consider inverted commas as well.i want to print on console: "hello"
What is bubble sort in c?
12344321 123 321 12 21 1 1 how i print this program??
5 Answers DSR Management, Winit,
How variables are declared in c?
Why is C called a middle-level language?
enum DAY { sunday, monday, tuesday }; enum EDAYS { friday, saturday, sunday }; void main() { int i =0; if( i == sunday) { printf("%d",i); } } what would be the output?