1. What is the output of this C code? #include <stdio.h> void main() { char *str = “”; do { printf(”hello”); } while (str); } a) Nothing b) Run time error c) Varies d) Hello is printed infinite times AnswerAnswer: d [Reason:] None. 2. What is the output of this C code? #include <stdio.h>void main(){…