Current Papers

Midterm Spring 2026
1,713 views
CS201 - CS201

01 Jun 2026 at 10:38 AM

Short question Q1) Value of given expression when x=3 and x=2 (X++*y++)-2 And (++X*++Y)-2 Q2) Output find Karni thi #include <iostream> using namespace std; int main() { name = "khaqan"; …

Short question Q1) Value of given expression when x=3 and x=2 (X++*y++)-2 And (++X*++Y)-2 Q2) Output find Karni thi #include <iostream> using namespace std; int main() { name = "khaqan"; char= "welcome!"; cout << (char,name,3) return 0; } Long question #include <iostream> using namespace std; int main() { int x = 2; int choice = x; // use x as choice switch(choice) { case 1: cout << "5*3+5 = " << 5*3+5 << endl; // 20 break; case 2: cout << "5*3+2 = " << 5*3+2 << endl; // 17 break; default: cout << "5*0+5 = " << 5*0+5 << endl; // 5 break; } return 0; } 2) AK is Tara ka question tha Write a C++ program that takes

View Full Paper
Share
Shared by Malik 1 month ago
© 2026 VUCTN. All rights reserved. v1.0.0