int a=20;
int b=30;
int c=40;
printf("%d%d%d");
what will be the output?
Answers were Sorted based on User's Feedback
Answer / sangam khera
depending upon the compiler ....
IN TURBO C++ -> it will give an error a,b,c assigned a valued that is never used."
IN GCC(DEV C++)->it will give garbage value....
Is This Answer Correct ? | 2 Yes | 0 No |
pgm to find middle element of linklist(in efficent manner)
what is the output of the below code? main( ) { printf ( "\nOnly stupids use C?" ) ; display( ) ; } display( ) { printf ( "\nFools too use C!" ) ; main( ) ; }
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent
write C code to reverse a string such that if i/p is "abc defg hij klmno pqrs tuv wxyz" and the o/p should be "cba gfed jih onmlk srqp vut zyxw"
#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300,200,100
How can I read a binary data file properly?
Write c-code for 5+55+555+5555+55555+555555+5555555. Output will be it's answer...
Why main function is special give two reasons?
what is the output of below code int x=8,y; x>>=2; y=x; what is y value. NOTE:EXPLANATION IS COMPALSARY with binary bits
write a program in c to read array check element is present or not?
Is there something we can do in C but not in C++? Declare variable names that are keywords in C++ but not C.
What is the difference between arrays and pointers?