Home / MCQ Bank / Computer
Computer Structure And Union Difficulty: Medium

What will be the output of the following C code? #include <stdio.h> typedef struct student { char *a; }stu; void main() { stu s; s.a = "hi"; printf("%s", s.a); }

Select the correct option to test your answer:

More Computer Questions

Which method is used to increase or decrease the units in a canvas grid. What will be the output of the following MySQL statement? SELECT emp_id, fname, lname FROM employee WHERE LEFT (fname, 1) ='F' OR LEFT (lname, 1) ='F'; What is the purpose of the 'delete' keyword in C++? For every relationship, how many possible types of actions are there when enforcing minimum cardinalities? The result of a SQL SELECT statement is a ________ .