x=2 y=3 z=2
x++ + y++;
printf("%d%d" x,y);
Answers were Sorted based on User's Feedback
Answer / himanshu
errors:declaration syntax missing
function call missing
| Is This Answer Correct ? | 0 Yes | 1 No |
Write a program to print a square of size 5 by using the character S.
Is the following statement a declaration/definition. Find what does it mean? int (*x)[10];
What is the subtle error in the following code segment? void fun(int n, int arr[]) { int *p=0; int i=0; while(i++<n) p = &arr[i]; *p = 0; }
main() { char * strA; char * strB = I am OK; memcpy( strA, strB, 6); } a. Runtime error. b. I am OK c. Compile error d. I am O
void pascal f(int i,int j,int k) { printf(ā%d %d %dā,i, j, k); } void cdecl f(int i,int j,int k) { printf(ā%d %d %dā,i, j, k); } main() { int i=10; f(i++,i++,i++); printf(" %d\n",i); i=10; f(i++,i++,i++); printf(" %d",i); }
1 o 1 1 0 1 0 1 0 1 1 0 1 0 1 how to design this function format in c-language ?
main() { char *p; printf("%d %d ",sizeof(*p),sizeof(p)); }
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"
How to read a directory in a C program?
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'.
All the combinations of prime numbers whose sum gives 32
void main() { unsigned giveit=-1; int gotit; printf("%u ",++giveit); printf("%u \n",gotit=--giveit); }