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 |
respected sir, i did my MCA in 2013 when i am going to attend to an interview i was asked about my project how will i explain my project could please help me in this and my project title is "Social Networking Site For Social Responsibility"
Is the following statement a declaration/definition. Find what does it mean? int (*x)[10];
create a login program that ask username and password. if you input username or password 3 times wrong, the program will terminate else the program will prompt a message "congratulations"
Which version do you prefer of the following two, 1) printf(ā%sā,str); // or the more curt one 2) printf(str);
How can i find first 5 natural Numbers without using any loop in c language????????
print a semicolon using Cprogram without using a semicolon any where in the C code in ur program!!
35 Answers Tata Elxsi, TCS, VI eTrans,
why nlogn is the lower limit of any sort algorithm?
main() { void swap(); int x=10,y=8; swap(&x,&y); printf("x=%d y=%d",x,y); } void swap(int *a, int *b) { *a ^= *b, *b ^= *a, *a ^= *b; }
main() { int c[ ]={2.8,3.4,4,6.7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf(" %d ",*c); ++q; } for(j=0;j<5;j++){ printf(" %d ",*p); ++p; } }
could you please send the program code for multiplying sparse matrix in c????
main() { unsigned int i=10; while(i-->=0) printf("%u ",i); }
main() { int i=3; switch(i) { default:printf("zero"); case 1: printf("one"); break; case 2:printf("two"); break; case 3: printf("three"); break; } }