main()
{
int l=6;
switch(l)
{
default:l=l+2;
case 4:l=4;
case 5:l++;
break;
}
printf("%d",l);
}
What is local and global variable in c?
Explain what is the best way to comment out a section of code that contains comments?
Explain modulus operator. What are the restrictions of a modulus operator?
what are two categories of clint-server application development ?
Write code for initializing one dimentional and two dimentional array in a C Program?
5 Answers Deshaw, Edutech, GMD,
Explain the concept and use of type void.
without a terminator how can we print a message in a printf () function.
int main() { int i=1; switch(i) { case '1': printf("hello"); break; case 1: printf("Hi"); break; case 49: printf("Good Morning"); break; } return 0; }
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); }
11 Answers CISOC, CitiGroup, College School Exams Tests,
Can a void pointer point to a function?
Do you have any idea how to compare array with pointer in c?