Page 1 of 1

1. Which function will you choose to join two words? a) strcpy b) strcat() c) strncon() d) memcon() 2. Which among the f

Posted: Sun May 15, 2022 1:01 pm
by answerhappygod
1 Which Function Will You Choose To Join Two Words A Strcpy B Strcat C Strncon D Memcon 2 Which Among The F 1
1 Which Function Will You Choose To Join Two Words A Strcpy B Strcat C Strncon D Memcon 2 Which Among The F 1 (36.7 KiB) Viewed 68 times
1 Which Function Will You Choose To Join Two Words A Strcpy B Strcat C Strncon D Memcon 2 Which Among The F 2
1 Which Function Will You Choose To Join Two Words A Strcpy B Strcat C Strncon D Memcon 2 Which Among The F 2 (42.89 KiB) Viewed 68 times
1. Which function will you choose to join two words? a) strcpy b) strcat() c) strncon() d) memcon() 2. Which among the following is Copying function? a) strcpy b) strcopy c) memcopy d) strxcpy function appends not more than n characters. 3. The a) strcat() b) strcon() c) strncat() d) memcato 4. What will be the output of the following piece of code? int main() { char ary[] = "Discovery Channel"; printf("%s", ary); return 0; } } a) D b) Discovery Channel c) Discovery d) Compiler error

5. How do you accept a Multi Word Input in C Language? a) scanf b) gets c) getc d) finds 6. What will be the output of the following piece of code? int main() { char p[] = "GODZILLA"; int i = 0; while(p != '0') { printf("%c", *(p+i)); i++; } return 0; } a) G b) GODZILLA c) Compiler error d) None of the above 7. The first and second arguments of fopen() are a) A character string containing the name of the file & the second argument is the mode b) A character string containing the name of the user & the second argument is the mode c) A character string containing file pointer & the second argument is the mode d) None of the mentioned