main()
{
int a[10];
printf("%d",*a+1-*a+3);
}
Answer / susie
Answer :
4
Explanation:
*a and -*a cancels out. The result is as simple as 1 + 3 = 4 !
| Is This Answer Correct ? | 4 Yes | 1 No |
1. const char *a; 2. char* const a; 3. char const *a; -Differentiate the above declarations.
main() { printf("%d, %d", sizeof('c'), sizeof(100)); } a. 2, 2 b. 2, 100 c. 4, 100 d. 4, 4
18 Answers HCL, IBM, Infosys, LG Soft, Satyam,
#define prod(a,b) a*b main() { int x=3,y=4; printf("%d",prod(x+2,y-1)); }
Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?
What are segment and offset addresses?
write a c program to Reverse a given string using string function and also without string function
In the following pgm add a stmt in the function fun such that the address of 'a' gets stored in 'j'. main(){ int * j; void fun(int **); fun(&j); } void fun(int **k) { int a =0; /* add a stmt here*/ }
program to find magic aquare using array
how to return a multiple value from a function?
given integer number,write a program that displays the number as follows: First line :all digits second line : all except the first digit . . . . Last line : the last digit
Write a program to receive an integer and find its octal equivalent?
writte a c-programm to display smill paces