Professional Documents
Culture Documents
Vimp 2M Que
Vimp 2M Que
V.IMP Questions
Branch : CO/IF/AIML
5. The use of a pointer array of character strings results in saving of data storage
space in memory.
6. It supports dynamic memory management.
10. State any two differences between while and do-while statement.
Ans.
13. State the syntax & use of strlen ( ) & strcat ( ) function.
Ans.
strlen( ): calculates the length of the string
Syntax: strlen(s1);
strcat():concatenates two strings
Syntax: strcat(s1,s2)
{
int consumer_id;
char address[50];
float amount;
};