ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
 Categories  >>  Software  >>  Programming Languages  >>  C++  >>  C++ General       
Suggest New Category 
 


 

View Page with Answers
  Question  Asked @ Answers Views     select
 
write a program to insert an element into an array  0  13
what is smart pointer & use of the smart pointer ???  1  64
reading material is provided 3 books for c++ if u need more do let me know thnx i hve lots of material do let me know if u want it  0  17
What is the difference between static link library and dynamic link library? Tech-Mahindra  0  28
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?  0  20
What are Binay tress and B trees? Diff between them? CTS  3  162
Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B"; CTS  3  224
How many types of casting are there in C++? When is a dynamic cast,static_cast,reinterpret cast used? CTS  0  58
How many pointers are required to reverse a link list? CTS  2  83
What are function poinetrs? where are they used? CTS  0  36
What are smart pointer? Whats its use? CTS  0  48
What is a pure virtual function? Why is it represented as = 0...how is the internal implementation for the same CTS  3  142
What is a mutex and a critical section.Whats difference between them?How do each of them work? CTS  1  138
What is multithreading and what is its use?Whats are multithreading techniques used in C++?  0  66
What is object slicing and how can we prevent it? Tech-Mahindra  2  75
E-Mail New Answers        Answer Selected Questions
 
 
 [1]   2   3   4   5   6   7   8   9   10   11   12   13   14   15    Next
 
 
 STL interview questions   STL Interview Questions  OOPS interview questions   OOPS Interview Questions  C++ General interview questions   C++ General Interview Questions
 
 
 
Un-Answered Questions
 
 Question Views Asked at   Select
 
Can we generate a C++ source code from the binary file? 155  
how can i access a direct (absolute, not the offset) memory address? here is what i tried: wrote a program that ask's for an address from the user, creates a FAR pointer to that adress and shows it. then the user can increment/decrement the value in that address by pressing p(inc+) and m(dec-). NOW, i compiled that program and opened it twice (in 2 different windows) and gave twice the same address to it. now look what happen - if i change the value in one "window" of the program, it DOES NOT change in the other! even if they point to the same address in the memory! here is the code snippet: //------------------------------------------------------ #include <stdio.h> //INCLUDE EVERY KNOWN HEADER FILE #include <conio.h> //FOR ANY CASE... #include <iostream.h> #include <dos.h> #include <process.h> main() { int far *ptr; //FAR POINTER!!! long address; char key=0; //A KEY FROM THE KEYBOARD int temp=0; clrscr(); cout<<"Enter Address:"; cin>>hex>>address; //GETS THE ADDRESS clrscr(); (long)ptr=address; temp=*ptr; //PUTS THE ADDRESS IN THE PTR cout<<"["<<hex<<(unsigned long)ptr<<"]="<<*ptr<<" = "<< (char)(*ptr); //SHOWS: [address]=value=ASCII symbol. while (key!=27) //WHILE YOU DONT PRESS ESC. { while(!kbhit()) //WHILE KEY IS NOT PRESSED { if (temp!=*ptr) { temp=*ptr; clrscr(); cout<<"["<<hex<< (unsigned long)ptr<<"]="<<*ptr<<" = "<<(char)(*ptr); }; //IF THE VALUE HAS CHANGED, CLEAR THE SCREEN AND SHOW //AGAIN if (key=='p') {key=0; (*ptr)++; } //INCREMENT VALUE if (key=='m') {key=0; (*ptr)--; } //DEC. VALUE }; key=getch(); //IF A KEY IS PRESSED, READ IT FROM THE //KEYBOARD }; return 0; //IF ESC WAS THE KEY, EXIT THE PROGRAM } //--------------------------------------------------------- 38  
write a program to insert an element into an array 13  
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc.. 46  
What are smart pointer? Whats its use? 48 CTS
How can you force instantiation of a template? 133 ABC
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help? 20  
How many types of casting are there in C++? When is a dynamic cast,static_cast,reinterpret cast used? 58 CTS
What is multithreading and what is its use?Whats are multithreading techniques used in C++? 66  
How to construct muliton object 176 Symphony
What are raw sockets, where they are efficient? 59 Symphony
What are function poinetrs? where are they used? 36 CTS
Why for local variables the memory required to hold the variable is allocated from the program stack and for new its allocated from the heap? 39  
How the compilers arranges the various sections in the executable image? 160  
What is the difference between static link library and dynamic link library? 28 Tech-Mahindra
When is the last time you coded in C/C++? What is the most lines of original C/C++ code you have personally written in one project? How confident are you in your ability to write C or C++ without a reference? 73 Microsoft
How const functions will be treated by compiler? 110 Symphony
Profiler in projects? 76 Symphony
what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system? 47 Honeywell
E-Mail New Answers        Answer Selected Questions
 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com