Posts

Structure Notes

Image

Assignment of ICCP for all Student

Assignment for ICCP Subject: 1ET1000110 Evaluation will be done on the basics of assignment, so it is compulsory for all CE/IT/ICT students What is flowchart? Draw a flowchart to print first N Fibonacci numbers. Explain various symbols used in Flowchart and draw the flowchart for finding Factorial of a number given by user. Write an algorithm and draw the flow chart to find the largest of the given three numbers – A ,B and C. Explain the Basic structure of C program. Define C Token and explain in brief. Explain various Operators used in C language Explain data types used in C. State the syntax of Switch-case statement. Explain it with appropriate example. Explain if...else, Nested if....else and else if ladder with suitable example. Explain various types of loop available in C with example. Explain the use of break statement with example What is looping? Explain the difference between while and do..while statement. Describe following string functions in C-Language.

String Notes of C Language

Image

Function In C Language

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           Function definition           Function call Examples of user defined functions