Not that difficult...
int main (int argc, char **argv)
{
if (argc==1) printf ("No arguments\n");
else printf ("%d arguments\n", argc-1);
goto END;
END:
return 0;
}
using break; statement
write a c++ program to convert binary number to decimal number by using while statement
This is not a question.
A = 5do{statement;A = A + 1;} while (A < 10)
There is no gotoxy statement in C.
using break; statement
write a c++ program to convert binary number to decimal number by using while statement
write a c++program by using if statement to read a number and check whether it is positive or negative
This is not a question.
A = 5do{statement;A = A + 1;} while (A < 10)
There is no gotoxy statement in C.
This is a statement with a question mark?
12
It is very easy. The program begins here..... /*Program to sum and print numbers without creating variables*/ #include<stdio.h> main() { clrscr(); printf("%d+%d=%d",5,2,5+2); getch(); } /*Program ends here*/ Now just by changing the numbers in the "printf" statement we can add, subtract, multiply and divide the numbers without using variables. Hence the problem is solved..........
You cannot declare variables inside a case label. Declare them outside of the switch.
Oracle is a great program for creating a student detail in a table using HTML. One can even use a word processing platform too.
If you forget the semicolon, your program won't compile.