CS201 Midterm Current Papers VU Fall 2011 (www.vusolutions.com)

No Comments
CS201 Midterm Current Papers VU Fall 2011 (www.vusolutions.com)

MCQs From PAST Papers
Like
1) While loop is infinte if?
2) Cin is used to get value from?
3) Etc mcqs
4) Of which operator gives false if two are true of false: XOR

Short Questions
1) *num and num& difference.
2) Which one will you prefer :random or sequential access .Reason
3) A code snipet was there of strings to calculate bytes
4) Cin function to compare two strings

Long Questions:
1) Write a program which gets input string from user and matches it with antoher "This is my Pakistan".
For example if user enter "my" then the output will be "string found" or in case it doesnot matches " Not Found".
2) Write a program which get input from user as an integer array and uses pointer to print it in reverse order
Next PostNewer Post Previous PostOlder Post Home

0 comments

Post a Comment