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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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 67 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 67 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply