-
Short int and int
What is the difference between short int and int?
-
Recursive Function
1. Find output for following recursive function :int main(){int i=32242,j=find(i);}int find(int j){if(j){j = j%10 + find(j/10);printf(" %d ",j);}return j;} 2. What is the problem with following code : char* AddnewlinetoString(char *s){char buffer[1024];strcpy(buffer,s);buffer[strlen(s)-1] = 'n';return buffer;}
-
Output of a++ + ++a + a++
What is the answer of a++ + ++a + a++ int a=5;c = a++ + ++a + a++;//compiler produces the answer 28!!!//How