Discuss in brief about "Structure of C Program" with programming example.
What are C-tokens? List and discuss in brief.
What are data types? List and discuss in brief.
What is variable?Discuss it's declaration and initialization with syntax and examples.
What are I/O functions? Discuss formatted I/O functions with syntax and examples.
List and Discuss any 5 types of operators supported by C language.
Write C programs for following.
What are C-tokens? List and discuss in brief.
What are data types? List and discuss in brief.
What is variable?Discuss it's declaration and initialization with syntax and examples.
What are I/O functions? Discuss formatted I/O functions with syntax and examples.
List and Discuss any 5 types of operators supported by C language.
Write C programs for following.
- To find largest of two numbers using if else statement.
- To find largest of three numbers using conditional operator.
- To check, whether the number is Even or Odd number.
- To check, whether the year is leap year or not leap year.
- To find sum of first and last digit of entered 3 digits number.
- To swap (interchange) the contents of two variables using temporary variable.
- To swap (interchange) the contents of two variables without using temporary variable.
No comments:
Post a Comment