main()
{
int k=1;
printf("%d==1 is ""%s",k,k==1?"TRUE":"FALSE");
}
Answer / susie
Answer :
1==1 is TRUE
Explanation:
When two strings are placed together (or separated by
white-space) they are concatenated (this is called as
"stringization" operation). So the string is as if it is
given as "%d==1 is %s". The conditional operator( ?: )
evaluates to "TRUE".
Is This Answer Correct ? | 12 Yes | 1 No |
char inputString[100] = {0}; To get string input from the keyboard which one of the following is better? 1) gets(inputString) 2) fgets(inputString, sizeof(inputString), fp)
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
why array index always strats wuth zero?
write a c-program to find gcd using recursive functions
#include<stdio.h> int main() { int a=3,post,pre; post= a++ * a++ * a++; a=3; pre= ++a * ++a * ++a; printf("post=%d pre=%d",post,pre); return 0; }
/*what is the output for*/ void main() { int r; printf("Naveen"); r=printf(); getch(); }
Write a program to model an exploding firecracker in the xy plane using a particle system
main(){ int a= 0;int b = 20;char x =1;char y =10; if(a,b,x,y) printf("hello"); }
to remove the repeated cahracter from the given caracter array. i.e.., if the input is SSAD output should of SAD
Write a routine that prints out a 2-D array in spiral order
main() { int i=3; switch(i) { default:printf("zero"); case 1: printf("one"); break; case 2:printf("two"); break; case 3: printf("three"); break; } }
‎#define good bad main() { int good=1; int bad=0; printf ("good is:%d",good); }