Difference between revisions of "Advance C"

From Script | Spoken-Tutorial
Jump to: navigation, search
 
(4 intermediate revisions by 3 users not shown)
Line 2: Line 2:
  
 
Advanced C is for the programmer who has some experience writing applications in C or a similar language. This includes allocating large data objects which at compile time, is seldom practical, especially if the data objects are used frequently and for a short time. Instead, you usually allocate these data objects at runtime. C compiler produces the object module, preprocesses the input file, allocates internal storage for various data-types, creates memory data-structures, standard file I/O library etc.
 
Advanced C is for the programmer who has some experience writing applications in C or a similar language. This includes allocating large data objects which at compile time, is seldom practical, especially if the data objects are used frequently and for a short time. Instead, you usually allocate these data objects at runtime. C compiler produces the object module, preprocesses the input file, allocates internal storage for various data-types, creates memory data-structures, standard file I/O library etc.
 +
 +
'''Learners''': High School and UG/PG CSE/CS/IT students and anyone who wishes to learning advanced programming.
  
 
__TOC__
 
__TOC__
  
 
+
# Command Line arguments in C
 
+
#* main function with arguments with an example
* Command Line arguments in C
+
#* '''argc'''
** main function with arguments
+
#* '''argv'''
** argc
+
#* Header files
** argv
+
# Typedef and Union in C
** Header files
+
#* '''typedef''' keyword
 
+
#* '''union''' keyword
 
+
#* Syntax and use of '''typedef''' and '''union'''
 
+
#* Difference between '''union''' and '''structure'''
* Typedef and Union in C
+
#* ex:Check whether number is a pallindrome
** typedef keyword
+
#*Calculate total marks of student
** Union keyword
+
# Storage class specifiers
** Syntax and use of typedef and union
+
#* storage class specifiers
** Difference between union and structure
+
#* '''auto''' keyword
** ex: Check whether number is a pallindrome
+
#* '''static''' keyword
 
+
#* '''extern''' keyword
           Calculate total marks of student
+
#* '''register''' keyword
 
+
 
+
 
+
* Storage class specifiers
+
** storage class specifiers
+
** auto keyword
+
** static keyword
+
** extern keyword
+
** register keyword
+

Latest revision as of 14:37, 7 May 2019

Advance C

Advanced C is for the programmer who has some experience writing applications in C or a similar language. This includes allocating large data objects which at compile time, is seldom practical, especially if the data objects are used frequently and for a short time. Instead, you usually allocate these data objects at runtime. C compiler produces the object module, preprocesses the input file, allocates internal storage for various data-types, creates memory data-structures, standard file I/O library etc.

Learners: High School and UG/PG CSE/CS/IT students and anyone who wishes to learning advanced programming.

Contents

  1. Command Line arguments in C
    • main function with arguments with an example
    • argc
    • argv
    • Header files
  2. Typedef and Union in C
    • typedef keyword
    • union keyword
    • Syntax and use of typedef and union
    • Difference between union and structure
    • ex:Check whether number is a pallindrome
    • Calculate total marks of student
  3. Storage class specifiers
    • storage class specifiers
    • auto keyword
    • static keyword
    • extern keyword
    • register keyword

Contributors and Content Editors

Ashwini, Nancyvarkey, PoojaMoolya, Pratik kamble