main()
{
int a[10];
printf("%d",*a+1-*a+3);
}
Answers were Sorted based on User's Feedback
Answer / rameshp
ans is 4.
bec
*a+1-*a+3= 4 +*a,-*a ll be cancel....so ans s 4...
Is This Answer Correct ? | 48 Yes | 3 No |
How can I return multiple values from a function?
How to use c/c++ code in JAVA
10 Answers CDAC, IBM, Satyam, Scope International,
Is c high or low level?
Whether there can be main inside another main?If so how does it work?
How does free() know explain how much memory to release?
In which header file is the null macro defined?
#define MAX(x,y) (x) > (y) ? (x) : (y) main() { int i = 10, j = 5, k = 0; k = MAX(i++, ++j); printf("%d %d %d", i,j,k); } what will the values of i , j and k? }
14 Answers CDAC, GATE, NDS, TCS,
Can we change the value of constant variable in c?
Can we declare a function inside a function in c?
Explain what is the benefit of using enum to declare a constant?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...