Skip to main content

Posts

Showing posts from July, 2020

Call by value and call by reference in C-Important topics in C-computer science/Information technology

Call by value and Call by Reference  in C ->Watch this for FUN -  Funny job interview Are you getting bored with online lectures? ->Watch this -  When online lectures are boring   There are two ways to call out a function in C and those are Call by Value and Call by Reference. So, what they are, let's find out. <><><><><><><> Call by value :                                 Here the values in the function get copies of the original values but they don't get a revert to the modified value.  For example:                      void swap(int x, int y)                      {                             int temp=x;                             x=y;                             y=temp;                      }                      int main()                     {                      int a=5,b=7;                      swap(a,b);                      printf("%d %d\n",a,b);// Would print 5 7 although the values got modified in the funct

How to make your header file in C?-Important topics in C-computer science/Information technology

Making your header file ->Watch this for FUN -  Funny job interview Are you getting bored with online lectures? ->Watch this -  When online lectures are boring   Yes, you can make your header file, as we use the standard header files which are stored in your system, the same way we can also make our. So, let's see how? Step 1 . Define the functions which you will gonna use in the program in some file named (hello.h). Step 2 . In the program file, use #include"hello.h" for including that header file which has been saved by you. <><><><><><><> That's it, you are done, now you can use the functions which you have declared in the hello.h file anywhere in the program. Watch this for FUN -  Funny job interview Are you getting bored with online lectures? Watch this -  When online lectures are boring <><><><><><><> I hope you  have  learned something today. Visit other posts by  clicking

Standard header files in C programming language-Important topics in C-computer science/Information technology

Standard header files 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   Header files are the files that contain the set of predefined library functions that can be used anywhere while writing the program. That's why they become handy in use for their operations while writing a C program. Even you can make your header file. The following header files are the standard ones: 1. stdio.h                This header file is used for various input/output functions like printf() , scanf() ,etc. <><><><><><><> 2. stdlib.h                This header file is mainly used for dynamic memory allocation like malloc() , calloc() , realloc() , free() and even for some functions like abs() [for absolute value of the number] and atoi() [ for converting string to a number] and even more. <><><><><><><&g

What is 5g?Its technology and working-computer science/Information technology

5th Generation ->Watch this for FUN -  Funny job interview Are you getting bored with online lectures? ->Watch this -  When online lectures are boring   What is 5G?                     It is the technology that is the 5th generation standard for cellular networks. With the increasing demands and connectivity between people, 5th generation technology is a game-changer for them. It would lead to serving a million devices per square kilometer while the existing one 4G serves 100,000 devices per square kilometer. So you can now estimate its impact on people's lives. With GLOBAL data traffic doubling every 18 months, high-speed 5G connectivity comes into play. This technology would reduce human digital tasks in a second. <><><><><><><> <><><><><><><> Working of 5G:                          The service area of its reach would get divided into small geographical locations called cells. Hence all 5G w

Basic GIT commands line tutorial-for beginners and for developers with examples-computer science/Information technology

GIT Commands tutorial ->Watch this for FUN -  Funny job interview Are you getting bored with online lectures? ->Watch this -  When online lectures are boring   Hello Everyone and welcome back to learn one of the most wanted skills in today's world i.e. GIT. Now we'll gonna start with the basic git commands tutorial. So, let's get started. <><><><><><><><><> First of all, what is git? Git is a free and open-source distributed version control system designed to handle everything from small to very large projects. Its command-line provides various operations to perform the various tasks of any project. Almost every online project in this world is built with the help of git and its command line. By learning git you can expose yourself to the current and fastest-growing market skills. It is the skill that every developer should have, to sustain and g

Translate