Un-Answered Questions { Programming Languages }

C++ Public access specifier instead of Private – What is bad ?

418


Is there a difference between class and struct?

498


How many times will this loop execute? Explain your answer.

390


How can a C function be called in a C++ program?

330


C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.

404


What is the difference between global int and static int declaration?

418


Specify different types of decision control statements?

365


Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL

346


What will the line of code below print out and why?

336


What is the error in the code below and how should it be corrected?

313


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

652


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.

613


formula to convert 2500mmh2o into m3/hr

509


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

845


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

478