write a program which the o/p should b in such a way that s
triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon
if I/P=5 and so on...forget about the I/P which is less
than 3
No Answer is Posted For this Question
Be the First to Post Answer
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
What are the advantages and disadvantages of a heap?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
What are pointers?
0 Answers Accenture, Tavant Technologies, Zensar,
Why shouldn’t I start variable names with underscores?
What is f'n in math?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
Where are local variables stored in c?
what is the code to display color fonts in the output?
What is pass by value in c?