Académique Documents
Professionnel Documents
Culture Documents
Announcements
Quiz on lab days from 5th to 9th September in Lab at 2:00 PM.
We will try again today. If it does not work, then the quiz will be during tutorial on 7th. No makeup for the quiz.
Lec-18
Recap
Recursion
An example of mutual recursion An example of double recursion
Lec-18
Lec-18
Strings
A string is an array of characters characters. Declaration:
char name [30];
A string is terminated with the null character, \0. String can be initialized in double quotes as:
char place [ ] = IIT Kanpur;
The array place would be allocated 10+1 (11) memory areas. The last area would have \0 null character.
Lec-18
Any Questions?
Lec-18