a) Write a C program that implement string copy operation STRCOPY (st…
Previous year question for Computer Programming.
Question
a) Write a C program that implement string copy operation STRCOPY (str1, str2) that copies a string str1 to another string str2 without using library function. (12)
b) Differentiate between
i. getchar() and scanf()
ii. Union keyword and typedef keyword (8)
- Year: 2018
- Subject: Computer Programming
Related pages
More PYQs on String Manipulation Functions
- 6. (a) Define string. How string is declared and initialized? Explain string input/output functions with an example.
- (a) Write a program using a 'do while' loop to calculate and print the first 'm' Fibonacci numbers (08) (b) What is string? Explain with syntax various string…
- (a) How string is similar to the array. Write a program to perform string copy using C. (b) Write a program to perform the string comparison.