a=5
a=a++/++a

Answer Posted / ss

answer can be 2 and 1 as well
actually it is compiler dependent

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a example of a variable?

554


Write a program to print “hello world” without using semicolon?

675


What are the application of void data type in c?

719


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1358


What are local static variables? How can you use them?

648






Explain how can you restore a redirected standard stream?

593


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

1856


What are 'near' and 'far' pointers?

621


Write a program to identify if a given binary tree is balanced or not.

688


explain what is an endless loop?

612


Can we compile a program without main() function?

636


#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }

773


What is sorting in c plus plus?

566


Write a program to use switch statement.

662


Tell me about low level programming languages.

645