Explain how can I remove the trailing spaces from a string?
No Answer is Posted For this Question
Be the First to Post Answer
How can I generate floating-point random numbers?
print the pattern 1 2 4 3 6 9 4 8 12 16 5 10 15 20 25 if n=5
int i; i=2; i++; if(i=4) { printf(i=4); } else { printf(i=3); } output of the program ?
Explain what will the preprocessor do for a program?
main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); }
11 Answers CISOC, CitiGroup, College School Exams Tests,
f1() { f(3);} f(int t) { switch(t); { case 2: c=3; case 3: c=4; case 4: c=5; case 5: c=6; default: c=0;} value of c?
C language questions for civil engineering
What is #include called?
What is %s and %d in c?
How many types of arrays are there in c?
#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?
What are pragmas and what are they good for?