what is the value of b
if a=5;
b=++a + ++a
Answer Posted / anupam
13
| Is This Answer Correct ? | 25 Yes | 16 No |
Post New Answer View All Answers
What is "Duff's Device"?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
What is c++ used for today?
Explain about the constants which help in debugging?
What is formal argument?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
How can I run c program?
Tell me what are bitwise shift operators?
Explain how can you be sure that a program follows the ansi c standard?
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
How can I trap or ignore keyboard interrupts like control-c?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
If the size of int data type is two bytes, what is the range of signed int data type?
Why we use int main and void main?