#include <iostream>
using namespace std;
int main() {
int a = 3;
int c[5][5];
for (int x=0;x<5;x++) {
for (int y=0;y<5;y++) {
c[x][y] = x*y;
}
}
cout << c[a][2];
}



#include <iostream> using namespace std; int main() { int a = 3; int c[5][5]; for (int x=..

Answer / pratiksha21

answer is 6

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More OOPS Interview Questions

DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED PROGRAMING.

5 Answers  


Explain the concepts involved in Object Oriented programming.

0 Answers   Wipro,


what is virtual function?

3 Answers  


What is encapsulation with example?

0 Answers  


what does exactly the linker do?

1 Answers  






What is the renewal class?

0 Answers   Ebix, IBM,


What exactly is polymorphism?

0 Answers  


Can we create object of abstract class?

0 Answers  


why we call c++ is object oriented lanaguage

7 Answers   HCL,


The IT giant Tirnop has recently crossed a head count of 150000 and earnings of $7 billion. As one of the forerunners in the technology front, Tirnop continues to lead the way in products and services in India. At Tirnop, all programmers are equal in every respect. They receive identical salaries and also write code at the same rate. Suppose 14 such programmers take 14 minutes to write 14 lines of code in total. How long will in take 5 programmers to write 5 lines of code in total ?

6 Answers   TCS,


What are the types of abstraction?

0 Answers  


Can abstract class have normal methods?

0 Answers  


Categories