Sir... please give some important coding questions asked by product companies..
All the combinations of prime numbers whose sum gives 32
main() { char not; not=!2; printf("%d",not); }
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 Bosch, eInfochips, HCL, IHCL,
What are the files which are automatically opened when a C file is executed?
Is there any difference between the two declarations, 1. int foo(int *arr[]) and 2. int foo(int *arr[2])
void main() { int i=10, j=2; int *ip= &i, *jp = &j; int k = *ip/*jp; printf(“%d”,k); }
write a simple calculator c program to perform addition, subtraction, mul and div.
0 Answers United Healthcare, Virtusa,
#include <stdio.h> #define a 10 main() { #define a 50 printf("%d",a); }
main() { printf("%d", out); } int out=100;
int main() { int x=10; printf("x=%d, count of earlier print=%d", x,printf("x=%d, y=%d",x,--x)); getch(); } ================================================== returns error>> ld returned 1 exit status =================================================== Does it have something to do with printf() inside another printf().
main() { char *a = "Hello "; char *b = "World"; clrscr(); printf("%s", strcat(a,b)); } a. Hello b. Hello World c. HelloWorld d. None of the above
main() { int i=400,j=300; printf("%d..%d"); }