for c language it is .c
and for c++ it is .cpp
The extension of c program is ".c".
Nothing, but as a file-extension it means backup.
Well, it depends on the length of the file-extension. If you settle for letters and numbers, it will be 36n, where n is the length.PS: your question has nothing to do with C or C++ or programming at all.
You would first need to obtain a C compiler. If you know C, you could compose it in Notepad and give it the .c extension (or C++ and give it the .cpp extension) if you wanted to. However, you would need a compiler if you wanted to compile the program and run it.
The fundamental difference is that in C++ object-oriented programming (OOP) was added. C is a procedural language (that means. top-down structure design), where as C++, which is an extension of C itself, is an object oriented language.
from the extension of your file.If it has an extension of .cpp then it is a c++ programIf it's extension is .c, then it is a C program.
C and C++ are both high-level programming languages.
create spiral in c programming?
Most C programmers use a .c file name extension for executable C source code, and .h or no filename extension at all for source files containing definitions and interface specifications, so-called header files.Some C compilers inspect the file name extension and draw conclusions, but most will accept almost any filename convention.Other common filename extensions used in the C family of programming languages are .cpp and .hpp (C++) and .cs (C#). On operating systems with case-sensitive file names, these extensions are generally expected to be in lower case.
C - programming language - was created in 1972.
Robert Lafore has written: 'Object-oriented programming in Microsoft C++' -- subject(s): Object-oriented programming (Computer science), C++ (Computer program language), C. 'Microsoft C. Programming for the I.B.M.Personal Computer' 'Object-oriented programming in C++' 'Windows Programming Made Ridiculously Easy Book' 'The Waite Group's C Programming Using Turbo C++ (The Waite Group)' 'Microsoft C programming for the IBM' 'The Waite Group's Microsoft C programming for the PC' -- subject(s): C (Computer program language), IBM microcomputers, Microsoft C (Computer program), Microsoft C., Programming
In C programming, C compiler is user to translate C source into C object module.