If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.
12 45763Write a C function to search a number in the given list of numbers. donot use printf and scanf
6 11482what 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 7686i 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 26750what 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 8772
What are different types of operators?
What are the features of c languages?
what is the basis for selection of arrays or pointers as data structure in a program
What is the difference between break and continue?
Explain how can you tell whether a program was compiled using c versus c++?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
Describe explain how arrays can be passed to a user defined function
What is double pointer in c?
Write a program to print "hello world" without using a semicolon?
What is the difference between printf and scanf )?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
Lists the benefits of c programming language?
What are the differences between new and malloc in C?
show how link list can be used to repersent the following polynomial i) 5x+2