What is the output? #include <stdio.h> int main() { int a[]={1,2,3,4,5,6,7}; char c[]={‘a’, ‘x’,’h’,’0′,’k’}; printf(“%d %d”,(&a[3]-&a[0]), (&c[3]-&c[0])); return 0; } Ans: 3 3 What will be the output? #include <stdio.h> int main() { int val = 5; int* ptr = &val; printf(“%d %d”, ++val, *ptr); } Ans: 6 5 what is the output? #include <stdio.h>… Read More »
C Practice Programs 2
If “a” is an array of 5 x 5 dimension, a[2][4] is same as **(a+3+4) *(a+3)+*(a+4) **(a+3)+4 *(*(a+2)+4) Ans: Option 4 What is the output of the following code. void main() { int y[2][2] = {{1,2}, {3,4}}; int *p = y[1]; p = p + 1; printf(“%d\n”,*p); } 4 3 The program does not compile… Read More »
PL/SQL Objective Questions 2
PL SQL Objective Questions 2 Which of the following are correct results of a Boolean expression? TRUE or FALSE 0 or 1 YES or NO TRUE, FALSE or NULL Ans: 4 Which one of these operators does not have the same precedence as the others? BETWEEN AND LIKE IS NULL Ans: 2 What are the… Read More »
PL/SQL Objective Questions 1
PL SQL Objective Questions Which of the following is true about the execution section of a PL/SQL block? It is enclosed between the keywords BEGIN and END It is a mandatory section. It consists of the executable PL/SQL statements. All of the above. Ans: 4 Which of the following is true about PL/SQL programs?… Read More »
PL/SQL Multiple Choice Questions
PL/SQL Multiple Choice Questions How many ELSE clauses can an IF statement have? 0 or 1 Always 1 1 or 2 1 to 10 Ans : 1 Which of the following is equivalent to multiple IF-ELSIF statements? LOOP statement FOR statement WHILE statement CASE statement Ans : 3 Which of the following statements can be… Read More »
Typescript Interview Questions
About Typescript Interview Questions
Deep Learning Interview Questions
About Deep Learning Interview Questions Coming Soon…
asp.net MVC Interview Questions
Q1. What is MVC? MVC stands for Model-View-Controller. It is a software desi gn pattern which was introduced in 1970s. Also, MVC pattern forces a separation of concerns, it means domain model and controller logic are decoupled from user interface (view). As a result maintenance and testing of the application become simpler and easier. Q2.… Read More »
JavaScript Interview Questions
About JavaScript Interview Questions Coming Soon….
CSS3 Interview Questions
About CSS3 interview Questions Coming soon…
- 1
- 2
- 3
- …
- 5
- Next Page »