say the following declaration is correct nr not.
int b=a,n=0;

Answers were Sorted based on User's Feedback



say the following declaration is correct nr not. int b=a,n=0;..

Answer / sandhiya19937

correct

Is This Answer Correct ?    13 Yes 8 No

say the following declaration is correct nr not. int b=a,n=0;..

Answer / kani

wrong

Is This Answer Correct ?    5 Yes 1 No

say the following declaration is correct nr not. int b=a,n=0;..

Answer / nishant kumar

it's wrong as u are asigning 'a' to 'b' without declaring its data type..

Is This Answer Correct ?    3 Yes 0 No

say the following declaration is correct nr not. int b=a,n=0;..

Answer / manoj

how the ans is correct can u explain

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Interview Questions

What is ambagious result in C? explain with an example.

0 Answers   Infosys,


Explain following declaration int *P(void); and int (*p)(char *a);

3 Answers  


what information does the header files contain?

6 Answers   BSNL, Cisco, GDA Technologies,


sir i wanted to know how we wap in c to add numbers without using arithmetic operator in which digits are entered by user?

2 Answers  


#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300

4 Answers   Tieto,






a number is perfect if it is equal to the sum of its proper divisor.. 6 is perfect number coz its proper divisors are 1,2 and three.. and 1+2+3=6... a number is deficient if the sum of its proper divisor is less than the number.. sample: 8 is deficient, coz its proper divisors are 1,2 and 4, and 1+2+4=7. abundant number, if the sum of its proper divisor is greater than the number.. sample..12 is abundant coz 1+2+3+4+6=16 which is geater than 12. now write a program that prompts the user for a number, then determines whether the number is perfect,deficient and abundant..

1 Answers  


code snippet for creating a pyramids triangle ex 1 2 2 3 3 3

4 Answers  


Explain is it valid to address one element beyond the end of an array?

0 Answers  


What is variable in c with example?

1 Answers  


O,T,T,F,F,S,S,E,N,?,?,?,T,F,F,S,S,E,N

9 Answers   ADP,


44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?

3 Answers  


In which category does main function belong??

5 Answers  


Categories