main()

{

int c = 5;

printf("%d", main||c);

}

a. 1

b. 5

c. 0

d. none of the above

Answer Posted / guest

a) 1, if we use main|c then error, illegal use of pointer

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is full form of PEPSI

2117


Develop a routine to reflect an object about an arbitrarily selected plane

3274


How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?

2254


how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.

2351


write a simple calculator c program to perform addition, subtraction, mul and div.

3384






write a program for area of circumference of shapes

2226


Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?

4072


Cluster head selection in Wireless Sensor Network using C programming language.

3377


Write a routine to implement the polymarker function

4581


could you please send the program code for multiplying sparse matrix in c????

3277


#include int main(void) { int a=4, b=2; a=b<>2 ; printf("%d",a); return 0; }

1295


how to test pierrot divisor

2458


why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?

2498


In a gymnastic competition, scoring is based on the average of all scores given by the judges excluding the maximum and minimum scores. Let the user input the number of judges, after that, input the scores from the judges. Output the average score. Note: In case, more than two judges give the same score and it happens that score is the maximum or minimum then just eliminate two scores. For example, if the number of judges is 5 and all of them give 10 points each. Then the maximum and minimum score is 10. So the computation would be 10+10+10, this time. The output should be 10 because 30/3 is 10.

2634


To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']

729