ALLInterview.com :: Home Page
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   Errors
   Testimonials Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
   
 
 Categories >> Software >> Programming Languages >> C++
 
  STL (96)   OOPS (571)   C++ General (468)
 
Suggest New Category 
 


 

Question Asked @ Answers Views     Select
What is design patterns in C++? persistent   2  7990
if there is binary tree which one is the easiest way to delete all child node? persistent   1  3167
They will ask u question about single linked list?. Write Code for to insert delete node. persistent   2  2411
How much is size of struct having 1 char & 1 integer? persistent   11  5279
Generally variables are stored in heap memory. When he variables are created in stack? persistent   4  3191
Ask to write virtual base class code? satyam   0  854
What is size of Empty Class? persistent   3  3256
If there are 1 to 100 Numbers in array of 101 elements. Which is the easy way to find repeated number? persistent   2  3879
Copy Linked List using recursive function? persistent   2  3489
which is the easy way to divide any integer by 2? persistent   2  2504
write a short note on Overloading of Binary Operator?    2  5021
what is polymorphism?    4  2224
difference between class and object magic-soft   9  3842
What is the expansion of OOPS? tcs   24  12473
which is best institue to learn C/C++ IN AMEERPET OR MAITHRIVANAM OR SR NAGAR, PLEASE HELP. THANKS IN ADVANCE    5  3091
E-Mail New Answers        Answer Selected Questions       
Prev    1   ... 7   ... 13   ... 19   ... 25    30   [31]    32  ... 37   ... 43   ... 49   ... 55   ... 61   ... 67   ... 73    Next
 
 
 
 
 
Un-Answered Questions
 
 Question Views   Select
 
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know. 1145
Objective The objective of this problem is to test the understanding of Object-Oriented Programming (OOP) concepts, in particular, on encapsulation. Problem Description Create a program for managing customer’s bank accounts. A bank customer can do the following operations: 1. Create a new bank account with an initial balance. 2. Deposit money into his/her account. 3. Withdraw money from his/her account. For this operation, you need to output “Transaction successful” if the intended amount of money can be withdrawn, otherwise output “Transaction unsuccessful” and no money will be withdrawn from his/her account. Input The input contains several operations and is terminated by “0”. The operations will be “Create name amount”, “Deposit name amount”, or “Withdraw name amount”, where name is the customer’s name and amount is an integer indicating the amount of money. There will be at most 100 bank accounts and they are all created on the first month when the bank is opening. You may assume that all account holders have unique names and the names consist of only a single word. Output The output contains the transaction result of withdrawal operations and the final balance of all customers after some withdrawal and deposit operations (same order as the input). Sample Input Create Billy 2500 Create Charlie 1000 Create John 100 Withdraw Charlie 500 Deposit John 899 Withdraw Charlie 1000 0 481
Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A.Explain how a pointer to function can be declared in C++? B.List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header (“Include”) Files. 954
#include <string.h> #include <stdio.h> #include <stdlib.h> #include <conio.h> void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort 441
what is the drawback of classical methods in oops? 1514
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works? 248
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()? 886
which feature are not hold visual basic of oop? 463
2. Give the different notations for the class.\ 374
find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them. 556
is there any choice in opting subjects like 4 out of 7 488
Write a program to encrypt the data in a way that inputs a four digit number and replace each digit by (the sum of that digit plus 7) modulus 10. Then sweep the first digit with the third, second digit with the fourth and print the encrypted number. 578
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION? 269
i got a backdoor offer in process global,Bangalore..Can i work with it? 1064
How to reverse a sentence in c program ex: ram is a good boy answer: boy good a is ram 958
E-Mail New Answers        Answer Selected Questions