All the combinations of prime numbers whose sum gives 32



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

Post New Answer

More C Code Interview Questions

program to Reverse a linked list

12 Answers   Microsoft, Aricent, Ness Technologies,


void main() { static int i=i++, j=j++, k=k++; printf(“i = %d j = %d k = %d”, i, j, k); }

3 Answers  


main() { int i=0; while(+(+i--)!=0) i-=i++; printf("%d",i); }

9 Answers   CSC, IBM, GoDB Tech,


main() { int i=3; switch(i) { default:printf("zero"); case 1: printf("one"); break; case 2:printf("two"); break; case 3: printf("three"); break; } }

1 Answers  


main() { main(); }

1 Answers  






Write a program to implement the motion of a bouncing ball using a downward gravitational force and a ground-plane friction force. Initially the ball is to be projected in to space with a given velocity vector

2 Answers  


main() { int i=10,j=20; j = i, j?(i,j)?i:j:j; printf("%d %d",i,j); }

2 Answers   CSC, Adobe,


write a program to Insert in a sorted list

4 Answers   Microsoft,


main() { int i = 257; int *iPtr = &i; printf("%d %d", *((char*)iPtr), *((char*)iPtr+1) ); }

1 Answers   CSC,


int a = 10 + 10 .... ,... A = A * A What would be the value of A? The answer is 120!! Could anyone explain this to me.

2 Answers   HCL, Bosch, eInfochips, IHCL,


main() { int *j; { int i=10; j=&i; } printf("%d",*j); }

9 Answers   HCL, Wipro,


how can u draw a rectangle in C

53 Answers   Accenture, TCS, HCL, Oracle, Wipro, Cognizant, Punjab National Bank, SAP Labs, CO, Codeblocks, University,






Categories