#include <stdio.h>
#include <string.h>
int main()
{
char*str=NULL;
strcpy(str,"cquestionbank");
printf("%s",str);
return0;
}
A. cquestionbank
B. cquestionbank\0
C.. (null)
D. It will print nothing
E. Compiler error
#include <string.h>
int main()
{
char*str=NULL;
strcpy(str,"cquestionbank");
printf("%s",str);
return0;
}
A. cquestionbank
B. cquestionbank\0
C.. (null)
D. It will print nothing
E. Compiler error
No comments:
Post a Comment