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 ? | 49 Yes | 3 No |
Explain in detail how strset (string handling function works )pls explain it with an example.
How to write a multi-statement macro?
What is malloc calloc and realloc in c?
write a program that print itself even if the source file is deleted?
program for comparing 2 strings without strcmp()
what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above
3 Answers Accenture, Infosys, Wipro,
Write a C program to check a number even or odd, without using any relational, arithmetic operator and any loops.
The variables are int sum=10,SuM=20; these are same or different?
1 1 12 21 123 321 12344231 how i creat it with for loop??
Write code for atoi(x) where x is hexadecimal string.
If the static variable is declared as global, will it be same as extern?
What are different types of variables in c?