1,145 views
0 0 votes

please tell how to solve it?

1 Answer

Position:
Show:

Related questions

18 18 votes
2 2 answers
784
784 views
GO Classes asked Jul 2
784 views
Assume:struct Student { double gpa; }; struct Student alice; struct Student *sptr = &alice;Which of the following correctly assigns $\texttt{4.0}$ to $\texttt{alice.gpa}$...
12 12 votes
2 2 answers
556
556 views
GO Classes asked Jul 1
556 views
What is the output of the following code?#include <stdio.h void func(int a, int *bptr) { a = 42; *bptr = 42; return; } int main(void) { int x = 100, y = 100; func(x, &y);...
8 8 votes
3 3 answers
453
453 views
GO Classes asked Jun 30
453 views
What is the output of the following code?#include <stdio.h struct Student { int roll; int marks; }; int main() { struct Student s[3] = { {1, 50}, {2, 60}, {3, 70} }; stru...
8 8 votes
2 2 answers
387
387 views
GO Classes asked Jun 30
387 views
What will happen when the following code is compiled?#include <stdio.h struct Node { int data; }; int main() { struct Node n = {25}; struct Node *p = &n; printf("%d", *p....