All the combinations of prime numbers whose sum gives 32
Answer / ram
#include<stdio.h>
main()
{
int n,i,j=2;
for(i=0;;i++|)
{
if(j%i==0)
}
}
Is This Answer Correct ? | 2 Yes | 3 No |
# include <stdio.h> int one_d[]={1,2,3}; main() { int *ptr; ptr=one_d; ptr+=3; printf("%d",*ptr); }
write a program to find out roots of quadratic equation "x=-b+-(b^2-4ac0^-1/2/2a"
void main() { int i=5; printf("%d",i+++++i); }
main() { int i=300; char *ptr = &i; *++ptr=2; printf("%d",i); }
main() { int *j; { int i=10; j=&i; } printf("%d",*j); }
main() { static char names[5][20]={"pascal","ada","cobol","fortran","perl"}; int i; char *t; t=names[3]; names[3]=names[4]; names[4]=t; for (i=0;i<=4;i++) printf("%s",names[i]); }
#include<stdio.h> int main() { int x=2,y; y=++x*x++*++x; printf("%d",y); } Output for this program is 64. can you explain how this output is come??
main() { int i = 100; clrscr(); printf("%d", sizeof(sizeof(i))); } a. 2 b. 100 c. 4 d. none of the above
#include<stdio.h> main() { struct xx { int x=3; char name[]="hello"; }; struct xx *s=malloc(sizeof(struct xx)); printf("%d",s->x); printf("%s",s->name); }
Is this code legal? int *ptr; ptr = (int *) 0x400;
Give a one-line C expression to test whether a number is a power of 2.
What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql