Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

C++ General Interview Questions
Questions Answers Views Company eMail

How would you use the functions memcpy(), memset(), memmove()?

1098

How would you obtain segment and offset addresses from a far address of a memory location?

1087

What is near, far and huge pointers? How many bytes are occupied by them?

1121

Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?

1266

which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?

1182

Can you write a function similar to printf()?

1133

Write a program which uses functions like strcmp(), strcpy()? etc

1107

What is a far pointer? where we use it?

1077

If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?

1512

What is the difference between the functions memmove() and memcpy()?

1123

Write a program which employs Recursion

1243

How can we check whether the contents of two structure variables are same or not?

1078

What are enumerations?

1107

Can we specify variable field width in a scanf() format string? If possible how?

1271

Does there exist any other function which can be used to convert an integer or a float to a string?

1092


Post New C++ General Questions

Un-Answered Questions { C++ General }

What is purpose of new operator?

1072


Difference between overloading vs. Overriding

1094


Why is c++ still best?

985


Explain function overloading and operator overloading.

1083


What do you mean by persistent and non persistent objects?

1437


In the derived class, which data member of the base class are visible?

1118


Can class objects be passed as function arguments?

1070


In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?

1067


What is iomanip c++?

1081


What is c++ hiding?

1219


What are the different types of comments allowed in c++?

993


How much do c++ programmers make?

1120


Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement

1190


write a program that reads in a file and counts the number of lines, words, and characters. Your program should ask the user to input a filename. Open the file and report an error if the file does not exist or cannot be opened for some other reason. Then read in the contents of the file and count the number of lines, words, and characters in the file. Also print additional information about the file, such as the longest and shortest words, and longest and shortest lines. For simplicity, we define a word to be one or more characters ending with white space (a space, tab, carriage return, etc.). Functions for checking the types of characters can be found in the ctype.h header file, so you want to include this header file in your program. For example, the sentence below could be all that is in a file. This sentence IT 104 is taught in C++. has 32 characters, one line, and six words. The shortest line is 32 characters. The longest line is 32 characters. The shortest word is 2 characters. The longest word is 6 characters

5328


What is function prototyping? What are its advantages?

1093