Basic question related programming || c programming || embedded programming

Programming Codestrer  Importance of c programming 

{embedded programming} 

Q & A SESSION 

So, hello my wonderful people! 

In this tutorial I tried to cover basic and most asked question by students, beginners and programmers. 

----------------------------------------------------------------------------------------------------------- 

1.Whenever students start coding, there is always a question in the mind of students which language should be first? 

->So, my answer is you should start with c programming because c programming is a very basic and easy language to learn coding and programming. 

----------------------------------------------------------------------------------------------------------- 

2. Why C is the base of programming language? 

-> The C language is a high-level, general-purpose programming language. It provides a straightforward, consistent, powerful interface for programming systems. That's why the C language is widely used for developing system software, application software, and embedded systems. 

----------------------------------------------------------------------------------------------------------- 

3.What is the difference between C and embedded C? 

-> However, some differences do exist, such as: C is generally used for desktop computers, while embedded C is for microcontroller based applications. Ccan use the resources of a desktop PC like memory. Embedded C is Procedure Oriented Programming . 

-> C is a high-level programming language. Embedded C is just the extension variant of the C language. This programming language is hardware independent. On the other hand, embedded C language is truly hardware dependent. 

----------------------------------------------------------------------------------------------------------- 

4. What is meant by embedded C? 

->Embedded C is a set of language extensions for the C programming language by the C Standards Committee to address commonality issues that exist between C extensions for different embedded systems. 

----------------------------------------------------------------------------------------------------------- 

5. What are embedded programming languages examples? 

-> A programming language that is included in an application. Examples of embedded languages are VBA for Microsoft applications and various versions of LISP in programs such as Emacs and AutoCAD. 

extensions for different embedded systems. 

----------------------------------------------------------------------------------------------------------- 

6. Why is C called mother of all languages? 

-> C language is considered as the mother language of all the modern programming languages because most of the compilers, JVMs, Kernels, etc. are written in C language, and most of the programming languages follow C syntax, for example, C++, Java, C#, etc. 

----------------------------------------------------------------------------------------------------------- 

7.Who is the father of coding? 

-> Dennis MacAlistair Ritchie 

Dennis MacAlistair Ritchie (September 9, 1941 – c. October 12, 2011) was an American computer scientist. He is most well known for creating the C programming language and, with long-time colleague Ken Thompson, the Unix operating system and B programming language. 

----------------------------------------------------------------------------------------------------------- 

8.What is the most basic programming language? 

-> C is a general-purpose language that most programmers learn before moving on to more complex languages. From Unix and Windows to Tic Tac Toe and Photoshop, several of the most commonly used applications today have been built on C. It is easy to learn because: A simple syntax with only 32 keywords. 

So guys i try to give your basic que related programming! 

Next part of Q&A coming soon! 

 my other tutorials are here:

What will be the output of the following code snippet?

#include <stdio.h>
void swap(int *a, int *b) {
    int t = *a;
    *a = *b;
    *b = t;
}
void solve() {
    int a = 3, b = 5;
    swap(&a, &b);
    printf("%d %d", a, b);
}
int main() {
 solve();
 return 0;
}
ANSWER:5 3

Which is not a valid keyword in C language?

for
while
do-while
switch

Answer is do while!

Till than learn and explore !!! 

Comments

Popular posts from this blog

C programming | Printf and scanf ||

C programming | structure | Fundamentals of Structure

C programming | Fundamentals & Basic information

C++ || Operators with c++

C++ || string with c++ || Part - 1

Compiler & Interpreter | difference and explanation

c++|operators with c++|variables||

C programming | Nested structure | Array, function and pointer of structure|| structure Part-II

C++(oop)| Fundamentals | Concepts||