If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.
12 45756Write a C function to search a number in the given list of numbers. donot use printf and scanf
6 11475what is out put of the following code? #include class Base { Base() { cout<<"constructor base"; } ~Base() { cout<<"destructor base"; } } class Derived:public Base { Derived() { cout<<"constructor derived"; } ~Derived() { cout<<"destructor derived"; } } void main() { Base *var=new Derived(); delete var; }
3 7684i want explaination about the program and its stack reprasetaion fibbo(int n) { if(n==1 or n==0) return n; else return fibbo(n-1)+fibbo(n-2); } main() { fibbo(6); }
2 4636The code is::::: if(condition) Printf("Hello"); Else Printf("World"); What will be the condition in if in such a way that both Hello and world are printed in a single attempt?????? Single Attempt in the sense... It must first print "Hello" and it Must go to else part and print "World"..... No loops, Recursion are allowed........................
HOV Services, IBM, Potty,
14 26740what is the other ways to find a logic to print whether a number is an even or odd wit out using % symbol??????? i know three different ways to print it. so i need any other different logic>>>>>
TCS,
5 8766
difference between Low, Middle, High Level languages in c ?
Is register a keyword in c?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
How do you write a program which produces its own source code as output?
write a program to display all prime numbers
Is fortran faster than c?
How are pointers declared in c?
Can include files be nested? How many levels deep can include files be nested?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
What are structure members?
Is c object oriented?
Compare array data type to pointer data type
How can I remove the leading spaces from a string?
Explain what is wrong in this statement?