Answer Posted / j naveen reddy
Pointer is a reference variable, as it refers the address of the other variable
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Describe the modifier in c?
What is character constants?
How can I sort more data than will fit in memory?
Which one would you prefer - a macro or a function?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
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
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
What are the valid places to have keyword “break”?
In a header file whether functions are declared or defined?
How can I automatically locate a programs configuration files in the same directory as the executable?
Explain a pre-processor and its advantages.
p*=(++q)++*--p when p=q=1 while(q<=6)
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
How to find a missed value, if you want to store 100 values in a 99 sized array?