First = 10, Second = 20; Jumpto(First; Second); Jumpto(Second); } void Jumpto ( int N1, int N2=20) { N1=N1 + N2; cout << N1 >> N2; } (d) Find the output of the following code: [2] # include < iostream.h> # include < ctype.h> void main() { char Text[]= Mind@Work!; for(int I=0; Text(I)!= I++) ‘ /0’; { I++) if(!isalpha(Text[I]!= ‘/0’; Text[I] = ‘*’; else if(isupper(Text[I])) Text[I]=Text[I] + 1; else Text (I) = Text[I+1]; } cout<< Text; } (e) Find the output of the following program: [2] # include < iostream.h > void main() { int U=10, V=20; for (int I =1; I <=2; I++) { cout << << U++ << << V-5 << endl; “[1]=” “&” cout << << ++V << << U+2 << endl; “[2]=” “&” } } (f) In the following program, find the correct possible output(s?) from the options: [2] #include< stdlib.h > #include< iostream.h >
First = 10, Second = 20; Jumpto(First; Second); Jumpto(Second); } void Jumpto ( int N1, int N2=20) { N1=N1 + N2; cout << N1 >> N2; } (d) Find the output of the following code: [2] # include < iostream.h> # include < ctype.h> void main() { char Text[]= Mind@Work!; for(int I=0; Text(I)!= ‘ /0’; I++) { if(!isalpha(Text[I]!= ‘/0’; I++) Text[I] = ‘*’; else if(isupper(Text[I])) Text[I]=Text[I] + 1; else Text (I) = Text[I+1]; } cout<< Text; } (e) Find the output of the following program: [2] # include < iostream.h > void main() { int U=10, V=20; for (int I =1; I <=2; I++) { cout << “[1]=” << U++ << “&” << V-5 << endl; cout << “[2]=” << ++V << “&” << U+2 << endl; } } (f) In the following program, find the correct possible output(s?) from the options: [2] #include< stdlib.h > #include< iostream.h >
243478435qno.i.docx