GeekInterview.com
Series: Subject: Topic:

C++ Faqs

Showing Questions 1 - 20 of 27 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

Binary

Asked By: dhairaybablani | Asked On: Jan 24th, 2013

Write a program that continues to ask the user to enter any decimal number and calculate it’s binary,octal and hexadecimal equivalent.

Number in words

Asked By: dhairaybablani | Asked On: Jan 24th, 2013

Write a program that takes an integer and displays the words number of that value. For example, 10->ten 121->one hundred twenty one

Permutations

Asked By: dhairaybablani | Asked On: Jan 24th, 2013

Write a program to display all possible permutations of a given input string--if the string contains duplicate characters, you may have multiple repeated results. Here is a sample for the input cat cat,cta,act,atc,tac,tca

C++ conversion program

Asked By: salom | Asked On: Nov 24th, 2012

How can I write a program that convert a given number of millimeters into the equivalent length in meters and meters into the equivalent length in millimeters?Also draw flowchart,algorithm,output.

C++ programming function help

Asked By: mailoher89 | Asked On: Apr 13th, 2011

I'm having some trouble trying to program these problems and putting them into the main function. Please help me by giving some advice or website that offer good information for me.1. Write a function that accepts a string of characters from a user and displays the string one word per line.2. Write a...

Use of C++ in daily life

Asked By: ayaan ali | Asked On: Jan 27th, 2011

Do you agree or not that "object oriented programming basic paradigms like abstraction, encapsulation, aggregation, composition, inheritance, polymorphism, templates etc are based and works in a same way as human thinks and behave in our daily life? Justify your answer with very precise and to the point...

Function linkage mechanism

Asked By: Mann2920 | Asked On: Jan 24th, 2011

What is function linkage mechanism? Can inline function be used at run time? Why or why not?

Stl - vector

Asked By: makan007 | Asked On: Dec 2nd, 2010

What is the context of one and two after the following frsgment of code is executed?Vector one(7, string("one"));vector two(one.Begin() + 2, one.End()-3);

Diff betweeen static and local

Asked By: jayanthnasika | Asked On: Oct 13th, 2010

In the below prog,node * q is local to a function add() but it acts as static .How?#includeusing namespace std;class ll{public: struct node{ int data; node *link; }*p;ll(){p=null;}int add(int x){ node *q,*r;if(p==null){ r=new node; r->data=x; r->link=null;q=r; p=q;}else{r=new node;r->data=x;r->link=null;q->link=r;q=q->link;}return...

Plz explain following program

Asked By: jayanthnasika | Asked On: Oct 13th, 2010

In the below program ,in function add() node * q is local but it acts as static ie I mean it works correctly how is it possible?#includeusing namespace std;class ll{public: struct node{ int data; node *link; }*p;ll(){p=null;}int add(int x){ node *q,*r;if(p==null){ r=new node; r->data=x; ...

PriVATe members

Asked By: Pankaj07 | Asked On: Aug 22nd, 2010

How can we access priVATe members of classs?

Reference type

Asked By: AZEEMJ | Asked On: Apr 30th, 2010

Define reference types with example

Virtual constructor

Asked By: biranchi_1986 | Asked On: Apr 3rd, 2010

Why constructor cannot be virtual in c++?

C++ multiple inhiretence

Asked By: rambabubajjuri | Asked On: Feb 23rd, 2010

Why multiple inheritance is supported in c++? What is reason?

Dll application

Asked By: kvramesh_bms | Asked On: Dec 8th, 2009

What are dlls? How they are used in the applications?

C++ interface

Asked By: kliton | Asked On: Sep 8th, 2008

Is it possible to create an interface in c++? If yes, how?

Supplementary problem

Asked By: buela_ronald | Asked On: Aug 22nd, 2008

You are tasked by your teacher to help her in the computation of your grade for preliminary period. The grade will computed based on the following formula.Cra=summation of all the quizzes, recitation,board works,assignments,and other requirements.Prelim grade= (cra*2+major exam)*60+40(total cra)*2+major...

Cpp objects

Asked By: sandeep.vs | Asked On: Jun 23rd, 2008

How are objects passed in cpp?

Program in math by C++

Asked By: The Professional | Asked On: Nov 30th, 2007

I have a program in math that I can't do ,can any body help me and i'll be very grateful to him.The program is:how to use code written in C++ to write matrices/matrix/array in math with 4th degree by the inverse matrix solution or cramer way to solution?Thank you.

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.