what is the value of b
if a=5;
b=++a + ++a
Answer Posted / pawan patil
it's very simple that value of b=13
because the actual value of a=5 then
b=++a + ++a
b=(6) + (++6)= 12
b= (6) + (7)=13
then b=13
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is indirection in c?
What is nested structure with example?
Write a program to print “hello world” without using semicolon?
How many keywords (reserve words) are in c?
What is the difference between pure virtual function and virtual function?
What is a null string in c?
Explain argument and its types.
What is c standard library?
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.
Can I initialize unions?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
How can I invoke another program or command and trap its output?
What are global variables?
How can I read data from data files with particular formats?
How do you define a function?