current papr cs201 file 1 23 june spring 2018

1.General syntax of switch statement
2. Applications softwares with examples
3. Output of program having arrays
4. To write a program arrays of 10 elements. Sorting. Find minimum and maximum numbr
For mcqs just study past papers and read handouts once
this is my comment in vu vicky whatsapp group.
ReplyDeletegood
also add this
Write down the output of the code given below :
Hint:
Size of char is 1 byte
Size of int is 2 byte
Size of float is 4 byte
#include
union mytypes_t {
char c;
int i;
float f;
} mytypes;
int main(){
mytypes.c = 'H';
mytypes.i = 15;
cout << sizeof(mytypes)<<endl;
mytypes.i = 15;
mytypes.c = 'H';
cout << sizeof(mytypes)<<endl;
system("PAUSE");
return 0;
}
Post a Comment
Don't Forget To Join My FB Group VU Vicky
THANK YOU :)