Home / MCQ Bank / Computer
Computer Pointer Difficulty: Medium

What will be the output of the following C code? #include <stdio.h> struct student { int no; char name[20]; }; void main() { struct student s; s.no = 8; printf("hello"); }

Select the correct option to test your answer:

More Computer Questions

Which are considered the methods of NAT? 1. Static 2. IP NAT pool 3. Dynamic 4. NAT double-translation 5. Overload How the objects are self-referenced in a member function of that class. What is the size of wchar_t in C++? What will be the output of the following Python code snippet? print('abef'.partition('cd')) What will be the output of the following Python code? def foo(k): k[0] = 1 q = [0] foo(q) print(q)