Programming Languages Interview Questions
Questions Answers Views Company eMail

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

1 756

Which operator can not be overloaded in C++?

1 536

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 1246

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

638

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.

594

formula to convert 2500mmh2o into m3/hr

493

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

1 273

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 257

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

2 718

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

1 442

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

1 281

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

1 343

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

1 405

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

1 390

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

1 795


Un-Answered Questions { Programming Languages }

How do I start a c++ project?

583


What is general format for a prototype?

595


What is the difference between mysql_fetch_array() and mysql_fetch_assoc()?

518


How to configure a mail-in laravel?

447


What is python best for?

436






What are access specifiers?

523


Write a Program to accept different goods with the number, price and date of purchase and display them

5439


Tell me how is creating a site on wordpress.org different from wordpress.com?

94


how to check the version of django?

207


Define the scope of static variables.

602


What is drupal block?

102


Explain what is the concatenation operator?

621


Define pure virtual function?

559


What does means by “call by reference” in python?

478


What is permission in drupal ?

99