main()
{
int i;
printf("%d", &i)+1;
scanf("%d", i)-1;
}
Answer / abhishek marshetty
Explanation: printf( ) prints address/garbage of i, scanf() dont have & sign, so scans address for i +1, -1 dont have any effect on code.
| Is This Answer Correct ? | 11 Yes | 0 No |
matrix multiplication fails introspect the causes for its failure and write down the possible reasons for its failurein c language.
Tell me what is the purpose of 'register' keyword in c language?
What is the difference between single charater constant and string constant?
What does the characters “r” and “w” mean when writing programs that will make use of files?
Describe the header file and its usage in c programming?
m=++i&&++j(||)k++ printf("%d"i,j,k,m)
What is the correct code to have following output in c using nested for loop?
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
Tell about strtok & strstr functions
2 Answers HCL, iFlex, Motorola,
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
main() { char *p; p="Hello"; printf("%c\n",*&*p); }
How do I use void main?