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 |
Is there any difference between the two declarations, 1. int foo(int *arr[]) and 2. int foo(int *arr[2])
program to find the roots of a quadratic equation
14 Answers College School Exams Tests, Engineering, HP, IIIT, Infosys, Rajiv Gandhi University of Knowledge Technologies RGUKT, SSC,
plz tell me the solution.......... in c language program guess any one number from 1 to 50 and tell that number within 8 asking question in yes or no...............
Write a routine to implement the polymarker function
main() { int i=-1; +i; printf("i = %d, +i = %d \n",i,+i); }
write a origram swaoing valu without 3rd variable
Write a prog to accept a given string in any order and flash error if any of the character is different. For example : If abc is the input then abc, bca, cba, cab bac are acceptable, but aac or bcd are unacceptable.
main() { extern int i; i=20; printf("%d",i); }
Write a program to receive an integer and find it's octal equivalent. How can i do with using while loop.
How to return multiple values from a function?
main() { char *p="GOOD"; char a[ ]="GOOD"; printf("\n sizeof(p) = %d, sizeof(*p) = %d, strlen(p) = %d", sizeof(p), sizeof(*p), strlen(p)); printf("\n sizeof(a) = %d, strlen(a) = %d", sizeof(a), strlen(a)); }
How do I write a program to print proper subset of given string . Eg :input: abc output:{},{a},{b},{c},{a,b},{a,c},{b,c}, {a,b,c}.I desperately need this program please mail me to saravana6m@gmail.com