without using arithmatic operator convert an intger variable
x into x+1

Answer Posted / geeta

x++

Is This Answer Correct ?    2 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is a macro different from a function?

648


Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].

631


Explain the difference between ++u and u++?

631


How can I split up a string into whitespace-separated fields?

560


What is the Purpose of 'extern' keyword in a function declaration?

641






What is the scope of static variables in c language?

622


‎How to define structures? · ‎

616


What is hash table in c?

560


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

705


What is string function c?

558


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?

2163


Why is it that not all header files are declared in every C program?

669


Define C in your own Language.

628


A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile

634


Which control loop is recommended if you have to execute set of statements for fixed number of times?

803