Programming Languages Interview Questions
Questions Answers Views Company eMail

How do you allocate and deallocate memory in C++?

1 734

Which operator can not be overloaded in C++?

1 520

Q1 On the screen how do you write the following words? she sells seashells by the seashore (a) all in one line (b) in three lines Q2 Write a program that asks interactively the user’s name and age and responds with Hello name, next year you will be next_age. where next_age is age + 1 Q3 For the different values of n, what is the output? printf(“%x %c %o %d”,n,n,n,n); (a) n = 67 (b) n = 20 (c) n = 128 (d) n = 255 (e) n = 100 Q4 What will be the output of the following program? int main() { char a,b,c; scanf(“%c %c %c”,&a,&b,&c); printf(“a=%c b=%c c=%c”,a,b,c); return 0; } [Note: The user input is:ABC DEF GHI]

1 1227

what is different between auto and local static? why should we use local static?

628

Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.

585

formula to convert 2500mmh2o into m3/hr

483

Write a C++ Program to Display Number (Entered by the User).

1 260

Identify the error in the following program. #include void main() { int i = 0; i = i + 1; cout « i « " "; /*comment *//i = i + 1; cout << i; }

1 246

Write a program to display the following output using a single cout statement Maths=90 Physics=77 Chemistry = 69

2 643

Write a C++ Program to find Square Root of a number using sqrt() function.

1 423

Write a C++ Program to Find Sum and Average of three numbers.

1 267

Write a program to read two numbers from the keyboard and display the larger value on the screen

1 324

Write a C++ Program to Find whether given Number is Odd or Even.

1 389

Write a C++ Program to Reverse a Number using while loop.

1 376

Write a program to input an integer from the keyboard and display on the screen “WELL DONE” that many times.

1 774


Un-Answered Questions { Programming Languages }

Explain the use of tuples in scala?

1


What is eav in magento?

3


If a function does not have a return statement, is it valid?

467


How do you start a blog for free?

109


what are the Versions of DB2 supported by BDE 5.10 ?

1201






What language is magento written in?

1


What does the 'yield' keyword do in python?

492


What are some most commonly used php based cms?

71


Explain bitset in scala?

1


Explain how to install installing mariadb on homestead?

404


Explain about repr function?

487


What is the language from which Python has got its features or derived its features?

509


How to Add TrueType fonts to windows in code?

1255


How to get/set configuration values in laravel?

423


Is c++ faster than c?

576