Explain what is the difference between the expression '++a' and 'a++'?
No Answer is Posted For this Question
Be the First to Post Answer
Why flag is used in c?
who will call your main function in c under linux?
how can make variable not in registers
#define MAX 3 main() { printf("MAX = %d \n",MAX ); #undef MAX #ifdef MAX printf("Vector Instituteā); #endif
How is pointer initialized in c?
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }
How do I convert a string to all upper or lower case?
what are the files which are automatically opened when a c file is executed?
How do we swap or interchange any 2 numbers without using Temporary variable...Anybody can pls answer it.. Thanks in Advance
main() { int a,b; printf("%d,%d",scanf("%d%d",&a,&b)); } => do u mean above program's output... =>output will be:2,whatever you enter value for b. =>because scanf is a library fn which will return how many arguements it processes, and second value you are right mr.Satya but i found my self unable to understand that for the first time scanf returns the no of successful matches but how for the second time it returns the value of 'b'.while a function should return the same 'r' value every time.