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 |
main() { printf("%x",-1<<4); }
#include<stdio.h> main() { struct xx { int x=3; char name[]="hello"; }; struct xx *s=malloc(sizeof(struct xx)); printf("%d",s->x); printf("%s",s->name); }
how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.
0 Answers Mbarara University of Science and Technology,
Write a single line c expression to delete a,b,c from aabbcc
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns
main() { void swap(); int x=10,y=8; swap(&x,&y); printf("x=%d y=%d",x,y); } void swap(int *a, int *b) { *a ^= *b, *b ^= *a, *a ^= *b; }
void ( * abc( int, void ( *def) () ) ) ();
can you use proc sql to manpulate a data set or would u prefer to use proc report ? if so why ? make up an example and explain in detail
main() { struct date; struct student { char name[30]; struct date dob; }stud; struct date { int day,month,year; }; scanf("%s%d%d%d", stud.rollno, &student.dob.day, &student.dob.month, &student.dob.year); }
how to concatenate the two strings
main() { int i=300; char *ptr = &i; *++ptr=2; printf("%d",i); }
Is the following code legal? typedef struct a aType; struct a { int x; aType *b; };