#include <stdio.h>
#define sqr(x) (x*x)
int main()
{
int x=2;
printf("value of x=%d",sqr(x+1));
}
What is the value of x?
Answer Posted / poorna
Warning: Function Should have return value........
Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
What are dangling pointers in c?
Describe the order of precedence with regards to operators in C.
Explain what will the preprocessor do for a program?
What are the key features in c programming language?
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?
Which is best linux os?
Why is not a pointer null after calling free?
What is include directive in c?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
Write a program to check palindrome number in c programming?
Can we add pointers together?
How do you do dynamic memory allocation in C applications?
What is a constant?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon