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 |
write a c program to print magic square of order n when n>3 and n is odd?
void main() { int i=i++,j=j++,k=k++; printf(ā%d%d%dā,i,j,k); }
void main() { char a[]="12345\0"; int i=strlen(a); printf("here in 3 %d\n",++i); }
C program to print magic square of order n where n > 3 and n is odd
How to use power function under linux environment.eg : for(i=1;i<=n;i++){ pow(-1,i-1)} since it alerts undefined reference to 'pow'.
main() { int i=10; void pascal f(int,int,int); f(i++,i++,i++); printf(" %d",i); } void pascal f(integer :i,integer:j,integer :k) { write(i,j,k); }
Cluster head selection in Wireless Sensor Network using C programming language.
Implement a t9 mobile dictionary. (Give code with explanation )
1 Answers Amazon, Peak6, Yahoo,
Write a program to model an exploding firecracker in the xy plane using a particle system
In the following pgm add a stmt in the function fun such that the address of 'a' gets stored in 'j'. main(){ int * j; void fun(int **); fun(&j); } void fun(int **k) { int a =0; /* add a stmt here*/ }
main() { register int a=2; printf("Address of a = %d",&a); printf("Value of a = %d",a); }
#define f(g,g2) g##g2 main() { int var12=100; printf("%d",f(var,12)); }