wat is output of the following
int main()
{
const int j=2;
int i;
switch(i)
{
case 1:break;
case j:break;
default:break;
}
}
Answers were Sorted based on User's Feedback
Answer / kalyan chukka
Error Generated Because Case j is invalid declaration so
error generated
| Is This Answer Correct ? | 15 Yes | 1 No |
Answer / vikash gaurav
output will be nothing.... since i will have garbage value.
once going to switch case the value will not match with any
case so default value will be executed.
| Is This Answer Correct ? | 10 Yes | 2 No |
What is union in c?
What is 'bus error'?
Finding first/last occurrence of a character in a string without using strchr( ) /strrchr( ) function.
how do u find out the number of 1's in the binary representation of a decimal number without converting it into binary(i mean without dividing by 2 and finding out the remainder)? three lines of c code s there it seems...can anyone help
wtite a program that will multiply two integers in recursion function
Heyyy All, Just a challenge . A C program with if Else if(){ /// insert sumthing print ("in if") // insert sumting } else { ///// insert sumthing print ("in else"); //// insert sumthing } can anyone modify it so that program prints. if and else both
hello everybody can we change a the adress of a variabl i mean can i put for exemple for a int *p: &p=6 ?????????
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
which one is highest Priority in c? a)=,b)+,c)++,d)==
main difference between c and c++ language
What is openmp in c?
can i know the source code for reversing a linked list with out using a temporary variable?