Skip to main content

Posts

Showing posts from August, 2020

Beginning with Computer science??-computer science/Information technology

Are you a beginner in Computer Science? ->Watch this for FUN -  Funny job interview Are you getting bored with online lectures? ->Watch this -  When online lectures are boring   No worries!! Computer Science-Is it a NO or a YES? What do you think? let’s find out! Computer science is the study of computation and information. Computer science has impacted a lot in our daily lives, whether we have to design software or to book something online for shopping. Computer Science Computer science is the medium of all the online services that are evolving throughout the world. So, now you wanna ask me what is computer science build of? Computer science is not just about the front-end that you see in your daily lives but it is built on tonnes and tonnes of codes which run and execute in the back-end part which is not seen-able. Those parts of the code consist of languages generally called programming languages (generally because HTML, CSS are not programming languages). Now you need to know

Structures in C programming language-Important topics in C-computer science/Information technology

S tructures in C programming language ->Watch this for FUN -  Funny job interview Are you getting bored with online lectures? ->Watch this -  When online lectures are boring   Structures in C is a very important topic in the C programming language as it can store multiple data types due to which it comes under the user-defined data type.  By the multiple data types, I mean that it can store data types like int, float, char, double, etc. The declaration of a structure in C goes like : struct name{ // name is Name of the structure int n,m; //int data type float f;  //float data type char a[20000];  //character data type }; NOTE :- You cannot initialize any data type in structures , like struct name{ int n=3,m=2; // ERROR float f=3.5; //ERROR }; By using structures, it would become very easy to store multiple information of any kind. For using structures in the int main in C, let's take the example of storing the ID, NAME of the student, the program goes like, #include<stdio.

Translate