to enroll in courses, follow best educators, interact with the community and track your progress.
Programming Fundamental in C - Part 2 (in Hindi)
381 plays

More
This lesson describes the important concepts of programming fundamental.

Sandeep
Co-founder of BSI Academy and running YouTube channel. 5 years of teaching experience. Qualified in UGC NET & CSIR in Computer Science as JR

U
1. NTA UGC NET Paper -2

2. Computer Science & Application

3. About Me Sandeep M.Tech (IT) from IIIT CSIR (Engineering Science) as JRF UGC NET (JRF) - Computer Science & Applications Worked as Software Engineer & Research Scientist

4. Programming Fundamental

5. Part - 02

6. unacademy Follow me on the Unacademy Learning App 127.1k Sandeep Singh Educator since May 201 Co-founder of BSI Academy. 5 years of teaching Qualified in UGC NET in Computer Science and its Get updates about new courses Watch all my lessons Application as JRF& lecturer 14.7k 0 34 Follow . Download slides and watch offline All courses Q Sandeep Singh HINDI Programming in C&C (Hindi) Concepts of Objects Oriented Programming: CBSE UGC NET 0(6 ratings Sandeep Singh

7. Assignment statement Assign an expression to a variable var = expr ; . Example =x;

8. Operators in C Arithmetic Operators : + ,-, * , /, % Relational Operators : >, >=, <.< Logical Operators:!, &&, Il Compound Assignment Operator : =' +-,--, , *=, %= Address Operator: & Pre and Post Operator: ++, , . .

9. Operator Precedence & Associativity Precedence will be in order of Arithmetic - highest precedence Relational-lower than arithmetic Logical - lower that relational

10. Example /* this program takes the marks as input, calculates average and prints the same */ #include <stdio.h> //including the std input output library void main(void) I/main is defined which does not take any parameters and returns no value. //henceindicated as void float fMark1, fMark2, fMark3,fSum, fAvg; //variable names need to follow naming conventions scant("XFXF%f",&fMark1,&Mark2,&Mark3); //use & while accepting fAvgzfSum/ 3; printf("%f", fAvg) ;

11. Conditional Statement if (expr) Stmnt1; Stmnt2;Stmnt3; printf ("iNi is larger"); else printf(" N2 is larger");

12. Looping Statements sumsum + l;

13. Thank You