What will be output if you will compile and execute the following c code?
#include <stdio.h>
#include <string.h>
int main(){
char *str=NULL;
strcpy(str,"cquestionbank");
printf("%s",str); return 0;
}1.cquestionbank
2.cquestionbank\0
3.(null)
4.it will print nothing
Posted Date:-2022-07-06 13:41:06