29.What is the output of the following program ?#include <iostream>using namespace std;int main (){ int c1 = 10; int c2 = 20; { int c1; c1 = 50; c2 = 50; cout << "c1= " << c1 << ", c2=" << c2; } cout << ", c1= " << c1 << ", c2=" << c2; return 0;}
29.What is the output of the following program ?
#include <iostream>
using namespace std;
int main ()
{
int c1 = 10;
int c2 = 20;
{
int c1;
c1 = 50;
c2 = 50;
cout << "c1= " << c1 << ", c2=" << c2;
}
cout << ", c1= " << c1 << ", c2=" << c2;
return 0;
}
Previous 10 Questions — JECA MCA 2023
Nearest first
1
2
3
4
5
6
7
8
9
10
What is the output of the following program ?#include <iostream>using namespace std;struct demo{ int…
Topic: JECA MCA 2023
26.What is the output of the following program ?#include <iostream>using namespace std;int main() { &n…
Topic: JECA MCA 2023
26.What is the output of the following program ? #include <iostream> using namespace std; templ…
Topic: JECA MCA 2023
25.What is the output of the following program ? include <iostream> using namespace std; int ad…
Topic: JECA MCA 2023
24. In file management, FAT means ______________.
(A) Feature Access Table (B) File Access Table &nbs…
Topic: JECA MCA 2023
23. What do you mean by fork()? Choose the correct option.
(A) Starvation (B) Creation of new task &…
Topic: JECA MCA 2023
22. A counting semaphore is initialized to 15. Then, 4 wait operations and 2 signal operations are completed on this se…
Topic: JECA MCA 2023
21. Thrashing means a condition having ______________.
(A) minimum paging (B) optimized paging  …
Topic: JECA MCA 2023
20. Demand paging is considered as ______________.
(A) fetching a page when not needed (B) switching betwe…
Topic: JECA MCA 2023
19. ___________ is a technique to move a process from main memory to secondary memory.
(A) Deadlock (B) Sy…
Topic: JECA MCA 2023
Next 10 Questions — JECA MCA 2023
Ascending by ID
1
2
3
4
5
6
7
8
9
10
30.What is the output of the following program ?#include <iostream>using namespace std;class Demo {public: …
Topic: JECA MCA 2023
31.What is the output of the following program ?#include <iostream>using namespace std;void print();int main(){&n…
Topic: JECA MCA 2023
32.What is the output of the following program ?#include <iostream>using namespace std;int main(){ i…
Topic: JECA MCA 2023
33.In shell script, which command is used to create a new directory ?
Topic: JECA MCA 2023
34.In shell script, which command is used to copy a file?
Topic: JECA MCA 2023
35.In shell script, which command is used to delete a file?
Topic: JECA MCA 2023
36.In Unix/Linux platform, which command is used to find out the difference between two files?
Topic: JECA MCA 2023
37.In Unix/Linux platform, which command is used to create a symbolic link?
Topic: JECA MCA 2023
38.In Unix/Linux platform, which command is used to view the inode number of a file?
Topic: JECA MCA 2023
39.In Unix/Linux platform, which command is used to specify the access mode for files?
Topic: JECA MCA 2023