main()
{
int i=400,j=300;
printf("%d..%d");
}
Answers were Sorted based on User's Feedback
Answer / susie
Answer :
400..300
Explanation:
printf takes the values of the first two assignments of the
program. Any number of printf's may be given. All of them
take only the first two values. If more number of
assignments given in the program,then printf will take
garbage values.
Is This Answer Correct ? | 2 Yes | 2 No |
Answer / kanth
Answer:
garbage value..garbage value.
explanation: Here we are not giving any variables to print
statement, hence it prints two garbage values.
Is This Answer Correct ? | 1 Yes | 1 No |
#ifdef something int some=0; #endif main() { int thing = 0; printf("%d %d\n", some ,thing); }
#define a 10 int main() { printf("%d..",a); foo(); printf("%d..",a); return 0; } void foo() { #undef a #define a 50 }
Write a function to find the depth of a binary tree.
13 Answers Adobe, Amazon, EFI, Imagination Technologies,
void main() { printf(“sizeof (void *) = %d \n“, sizeof( void *)); printf(“sizeof (int *) = %d \n”, sizeof(int *)); printf(“sizeof (double *) = %d \n”, sizeof(double *)); printf(“sizeof(struct unknown *) = %d \n”, sizeof(struct unknown *)); }
main() { int i = 3; for (;i++=0;) printf(“%d”,i); }
Write a program to check whether the number is prime and also check if it there i n fibonacci series, then return true otherwise return false
How we will connect multiple client ? (without using fork,thread)
Give a very good method to count the number of ones in a 32 bit number. (caution: looping through testing each bit is not a solution)
Sir... please give some important coding questions asked by product companies..
main(int argc, char **argv) { printf("enter the character"); getchar(); sum(argv[1],argv[2]); } sum(num1,num2) int num1,num2; { return num1+num2; }
code of a program in c language that ask a number and print its decremented and incremented number.. sample output: input number : 3 321123
/*what is the output for*/ void main() { int r; printf("Naveen"); r=printf(); getch(); }