1 / 15

c language course in pune

In the event that you are new and need to make your profession in Development, C is a decent decision to begin your programming Career.If you know C, you won't just know how your program functions in any case, you will probably make a model on how a PC functions.

cncwebc
Download Presentation

c language course in pune

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. C PROGRAMMING CLASSES IN PUNE by Cncwebworld https://cncwebworld.com/pune/c-programming-institute

  2. Introduction • C is a high-level language. • Writing a C code. {editors like gedit, vi} • Compiling a C code. {gcc –c test.c –o test} • Executing the object code. {./test} https://cncwebworld.com/pune/c-programming-institute

  3. Some more basics • Keywords • char, static, if , while, return ..................... Total= about 32 • Data Types • int , char, float ...………..….. Some more later • Arithmetic Operators • + (Plus), - (Minus), * (Multiplication), /(Division) ……….………. Some more later https://cncwebworld.com/pune/c-programming-institute

  4. My first C program! #include <stdio.h> // program prints hello world intmain() { printf ("Hello world!"); return0; } Output: Hello world! https://cncwebworld.com/pune/c-programming-institute

  5. Example 1 #include <stdio.h> // program prints a number of type int intmain() { int number = 4; printf (“Number is %d”, number); return0; } Output: Number is 4 https://cncwebworld.com/pune/c-programming-institute

  6. Example 2 #include <stdio.h> // program reads and prints the same thing intmain() { int number ; printf (“ Enter a Number: ”); scanf (“%d”, &number); printf (“Number is %d\n”, number); return0; } Output : Enter a number: 4 Number is 4 https://cncwebworld.com/pune/c-programming-institute

  7. more and more #include <stdio.h> int main() { /* this program adds two numbers */ int a = 4; //first number int b = 5; //second number int answer = 0; //result answer = a + b; } https://cncwebworld.com/pune/c-programming-institute

  8. Note Errors Compilation Compiler generally gives the line number at which the error is present. Run time C programs are sequential making the debugging easier. https://cncwebworld.com/pune/c-programming-institute

  9. COURSE STRUCTURE https://cncwebworld.com/pune/c-programming-institute

  10. Syllabus • Introduction • History of C Language • C - Program Structure • C-Identifier • C-keyword • Command line argument • How to install code block and how to create project https://cncwebworld.com/pune/c-programming-institute

  11. Contd… • Preprocessor in C • #include • #define • #undef • #ifdef • #if • #else • #elif • #endif https://cncwebworld.com/pune/c-programming-institute

  12. Contd… • Library in C • stdio .h • math.h • time.h • string .h • stdlib .h • Input/Output Function • printf • scanf https://cncwebworld.com/pune/c-programming-institute

  13. Operator Precedence • Operators • Arithmetic Operators • Relational Operators • Logical Operators • Bitwise Operators • Assignment Operators • Conditional and turnery operator • Size of operator https://cncwebworld.com/pune/c-programming-institute

  14. Decision Making Statement • if statement • if...else statement • nested if statements • If statement with logical operator • switch statement https://cncwebworld.com/pune/c-programming-institute

  15. THANK YOU https://cncwebworld.com/pune/c-programming-institute

More Related