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 |
Is the following code legal? typedef struct a { int x; aType *b; }aType
main() { char *p; p="%d\n"; p++; p++; printf(p-2,300); }
To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']
main ( ) { static char *s[ ] = {“black”, “white”, “yellow”, “violet”}; char **ptr[ ] = {s+3, s+2, s+1, s}, ***p; p = ptr; **++p; printf(“%s”,*--*++p + 3); }
What is full form of PEPSI
prog. to produce 1 2 3 4 5 6 7 8 9 10
void main() { int i=5; printf("%d",i+++++i); }
main() { while (strcmp(“some”,”some\0”)) printf(“Strings are not equal\n”); }
main(){ char a[100]; a[0]='a';a[1]]='b';a[2]='c';a[4]='d'; abc(a); } abc(char a[]){ a++; printf("%c",*a); a++; printf("%c",*a); }
why the range of an unsigned integer is double almost than the signed integer.
main() { int (*functable[2])(char *format, ...) ={printf, scanf}; int i = 100; (*functable[0])("%d", i); (*functable[1])("%d", i); (*functable[1])("%d", i); (*functable[0])("%d", &i); } a. 100, Runtime error. b. 100, Random number, Random number, Random number. c. Compile error d. 100, Random number
How can u say that a given point is in a triangle? 1. with the co-ordinates of the 3 vertices specified. 2. with only the co-ordinates of the top vertex given.