If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.
12 41576Write a C function to search a number in the given list of numbers. donot use printf and scanf
6 9583what 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 6576i 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 3675The 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 22267what 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 7041
What is 2c dna?
Why is c called c?
Why does everyone say not to use gets?
When should you not use a type cast?
What is a floating point in c?
What do you mean by c?
Why main is not a keyword in c?
What is a volatile keyword in c?
can any one tel me wt is the question pattern for NIC exam
Explain the use of 'auto' keyword
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
How does normalization of huge pointer works?
Explain void pointer?
What is variable in c example?
Can a function argument have default value?