Posts
Showing posts from March, 2020
Function In C Language
- Get link
- X
- Other Apps
What is Function? Explain different types of functions used in c Language. Function is a block of code that perform a specific task, C function are of two types Library functions or inbuilt functions User Defined Functions (UDF) Library Functions: Library functions are those functions which are already written, compiled and kept within a library of c language. There are thousands of library functions and when we require call that function in our program. Examples of Library Function are printf() , scanf(), strlen(), strcat(), strcmp(), strcpy(), sqrt() etc User Defined Function: User defined function are those function which are created by the user. These are the function which are written by the user at the time of writing the program. User defined function mainly consists of the three elements/parts. They are Function declaration ...
C Programs for Mid Semester Examination 19-20
- Get link
- X
- Other Apps
Practical Set 1, 2 and 3.(for examination) Even Academic Semester (2019-20) Practical List Subject: Introductory Course in Computer Programming (1ET1000110) [F.Y.B.Tech.: CE/IT/ICT] PRACTICAL SET-1: • Write a program to print HELLO FRIENDS! • Write a program that reads two nos. from keyboard and perform addition, subtraction, multiplication, division and modulo. • Write a C program to use symbolic constant.(area of circle) • Write a C Program to swap two numbers. • Given three values, write a C program to read three values from keyboard and print out the largest of them without using if statement. PRACTICAL SET-2: • Write a program to select & print the largest of the three nos. using Nested-If-Else statement. • ...