Question: Given the operators: 1) * 2) / 3) % What would be the order of precedence?
A
B
C
D
E
1,2,3
B
1,3,2
C
3,2,1
D
All have the same precedence
E
1 and 2 have the same precedence, 3 is of lower precedence
Note: Not available
struct node { int count; char *word; struct node next; }Node;2)
struct node { int count; char *word; struct node *next; }Node;3)
struct node { int count; char *word; union u1 { int n1; float f1; }U; }Node;
main( ) { char *str[ ] = { "Manish" "Kumar" "Choudhary" }; printf ( "\nstring1 = %s", str[0] ); printf ( "\nstring2 = %s", str[1] ); printf ( "\nstring3 = %s", str[2] ); }
main() { int n=5, x; x = n++; printf("%d ", x); x = ++n; printf("%d ", x++); printf("%d", x); return 0; }
extern int a;Which of the following statement/s pertaining to the above statement is/are correct?
void main() { int arr[5]={1,2,3,4,5}; printf("%d\n", *(arr+4)); }
main() { char *pmessage = "asdfgh"; *pmessage++; printf("%s", pmessage); return 0; }