Difference between revisions of "Advance C"

From Script | Spoken-Tutorial
Jump to: navigation, search
Line 7: Line 7:
  
  
* Command Line arguments in C
+
# Command Line arguments in C
** main function with arguments
+
#* main function with arguments
** argc
+
#* argc
** argv
+
#* argv
** Header files
+
#* Header files
 
+
# Typedef and Union in C
 
+
#* typedef keyword
 
+
#* Union keyword
* Typedef and Union in C
+
#* Syntax and use of typedef and union
** typedef keyword
+
#* Difference between union and structure
** Union keyword
+
#* ex:  
** Syntax and use of typedef and union
+
#*# Check whether number is a pallindrome
** Difference between union and structure
+
#*# Calculate total marks of student
** ex: Check whether number is a pallindrome
+
# Storage class specifiers
 
+
#* storage class specifiers
           Calculate total marks of student
+
#* auto keyword
 
+
#* static keyword
 
+
#* extern keyword
 
+
#* register keyword
* Storage class specifiers
+
** storage class specifiers
+
** auto keyword
+
** static keyword
+
** extern keyword
+
** register keyword
+

Revision as of 11:38, 17 November 2014

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.

Contents


  1. Command Line arguments in C
    • main function with arguments
    • 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:
      1. Check whether number is a pallindrome
      2. 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