Programming Languages Interview Questions
Questions Answers Views Company eMail

Write a C++ Program to Find Sum and Average of n numbers using for loop.

1 413

Write a program to read the values a, b and c and display x, where x=a/b–c. Test the program for the following values: (a) a = 250, b = 85, c = 25 (b) a = 300, b = 70, c = 70

1 554

Identify the error in the following program. include using namespace std; void main() { int num[]={1,2,3,4,5,6}; num[1]==[1]num ? cout<<"Success" : cout<<"Error"; }

1 401

Identify the errors in the following program. #include using namespace std; void main() { int i=5; while(i) { switch(i) { default: case 4: case 5: break; case 1: continue; case 2: case 3: break; } i-; } }

1 571

Write a C++ Program to Check Whether a character is Vowel or Consonant.

2 340

Write a C++ Program to find Addition of Two Numbers.

1 282

Write a C++ Program to Multiply two Numbers

1 475

Write a C++ Program to Generate Random Numbers between 0 and 100

1 683

int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

823

How to explain the final year project as a fresher please answer with sample project

459

Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"

1574

1. What coding languages are you comfortable with?

1 1869

2. What do you mean by DHCP?

1 2095

3. . Explain the Cache memory? What is the advantage of a processor having more cache memory?

1 2094

What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1341


Un-Answered Questions { Programming Languages }

What is a union?

601


What is a character in c++?

558


Explain the use of virtual destructor?

615


why return type of main is not necessary in linux

1692


What is #line used for?

568






If I have a char * variable pointing to the name of a function ..

637


what is the benefit of applying Connect Patches in Magento?

5


is it acceptable if we declare multiple exceptions in same overridden method.

2100


how Magento can be made more secure for the client?

5


What is stl in oop?

666


What browsers use activex?

385


Do class method definitions?

581


What is long in c++?

726


How many main () function we can have in a project?

602


Difference between Authentication and Authorization ?

789