answersLogoWhite

0

Example of if statement in turbo c?

Updated: 8/17/2019
User Avatar

Wiki User

15y ago

Best Answer

int main (int argc, char **argv)

{

if (argc<2) printf ("No parameter");

else printf ("The first/only parameter is '%s'\n", argv[1]);

return 0;

}

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Example of if statement in turbo c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Conditional statement in turbo c?

Yes.


What are examples of turbo c?

1. Turbo C is an example of Integrated Developing Environment. 2. Turbo C has example programs, the most important is bgidemo.c


What are the three looping statement in turbo C?

for,while,do while


What is return statement under function in turbo C?

return 0


What is looping statement in turbo c?

while, for, do-while (and perhaps goto)


What is turbo c programm?

BGIDEMO.C is an example.


Where do turbo c programs begin excution?

At the first statement of function main.


Example of deposit or withdrawal in turbo c?

the definition of deposit and withdrawal


What is the basic syntax of C?

+ += - -= * *= / /= % %= = == != &lt;= &gt;= &amp; &amp;&amp; | ^ ~ &lt;&lt; &lt;&lt;= &gt;&gt; &gt;&gt;= , [] () are the basic operator in TURBO C


What is the differentiate of turbo c from turbo c plus plus?

Turbo C compiles c source. turbo c++ compiles c++ source code.


How turbo c executes c as well as c?

turbo c cannot execute c++ as well..since c++ is the superset of c .the cprograms can be compiled in turbo c++.


What are the conditional statement of turbo c plus plus dos based?

Statements that check an expression then may or may not execute a statement or group of statements depending on the result of the condition.