Skip to main content

Posts

First impression.

Hello.... technical world , I am Akshay and this is my first blog ever . Here I will write about c programming ( theory and programming) and also c+ + pr ogramming a n d data-structure . Thank u .
Recent posts

C programming #3.

Hello, friends, I am back with another post of  'C' programming. CONTROL STATEMENT IN 'C'. -It is of two types conditional control statement unconditional control statement Conditional C.S- Decision making/ selection- If-else and switch statement looping/ iterative- for, while and do-while. Unconditional C.S- goto break continue return Now I am going further with an explained way of each for better understanding. Syntax of if-else statement if (condition) {   statement 1; } else  { statement 2; } - If else statement is a bidirectional statement that has following variants. multiple ifs if-else nested if-else else if ladder dangling if else  -Multiple ifs syntax- if (condition) { statement 1; } if (condition) { statement 2; { if (condition) { statement 3; } else { statement 4; } Q. How to find a number is odd or even or negative using multiple ifs? #inclu...

C++ programming #3

Control statement in C++. Now I am explaining the chapter control statement. Q. What is control statement? -The statement used to control the flow of compiler during execution. There are two types of control statement: 1. Conditional control statement -Control the flow of compiler based on the condition during execution time.   for example- selection/ decision-making statement...as if-else and switch case iterative/looping satement...as for loop, while loop and do-while loop. 2. Unconditional control statement -Control the flow of compiler without condition during execution.  for example- goto-statement break statement continue statement return statement.  Now I will go through separately 1. If-else statement Syntax-  if(conditional expression) {   block of statement 1; } else {   block of statements 2; } Q. How do we check whether a number is an integer or real by the if-else statement? #include<iostream.h...

The Technical Stuff #4

As I mentioned earlier, today I am writing about GOOGLE. -The name 'Google' has been derived from a mathematical term 'googol' which refers a large number 1 with 100 zeros following it. Larry Page Not many wings of the Internet have been as influential as Google, the most successful search engine in the history of information technology. Its popularity is such that the very term 'google' has entered our common parlance. For any doubt regarding anything under and above the sun, one seeks to 'google' it up. This is thanks to Google's founders, Larry Page and Sergey Brin. Lawrence Page or Larry Page, the American computer scientist, was a research student at Stanford University when he co-founded Google Inc. The search engine he developed, listed results on any query, according to the importance of the pages. Google was named after 'googol', a mathematical term.  Since its introduction, Google has been the most popular search engin...

C++ programming #2

Today, I will go ahead with a program. #include<iostream.h> #include<conio.h. int i;//global variable void main() { int j;//local variable clrscr(); cout<<".............."<<endl; cout<<"12345; cout<<"\n j="<<j; endl(cout); cout<<"i="<<i; cout<<"\n"; cout<<2324.65; cout<<"\\*********\\";//here double back slash which is inside cout statement will be ignored. getch(); } Explanation: refer to 'c++ programming #1' section. Now As we saw in 'C' programming we use other functions instead of scanf, here a get() function introduced to read the single character value and put() function to write in the compiler. The syntax to read a single character using get() - cin.get(variable); ex..char ch; cin.get(ch); The syntax to write a single character using put() - cin.put(variable/value); ex..char ch='x'; cin.put(ch); ...

C Programming #2.

Hello friends, I have come back with another post. Today I will write about INCREMENT AND DECREMENT OPERATORS. -We also say these operators, as the unary operator. -It will be applied to a single variable(neither value nor expression). -It will work with all kinds of data types.  Now Prefix Increment- ++x//( pahle increment hoga fir operation me laya jayega) Postfix Increment- x++//( pahle operation me laya jayega fir increment hoga) Prefix Decrement- --x//( pahle decrement hoga fir operation me laya jayega) Postfix Decrement- x--//( pahle operation me laya jayega fir decrement hoga) Now without wasting the time, I am going through the program for better understanding. Q.How prefix and postfix increment operator is work? # include<stdio.h> #include<conio.h> void main() { int x,y; printf("Enter the value of x and y:\n"); scanf("%d%d",&x,&y); printf("x=%d\t",x); printf("++x=%d\t",++x); printf("x...

The Technical Stuff #3.

Hello guys, I am back to you with another person STEVE JOBS. Why it is said that history of IT isn't complete without Steve Jobs? Very few computer wizards in the world have been popular as Steve Jobs, the co-founder of Apple. Beyond the world of technology, Jobs had donned the roles of the humanitarian, philanthropist, and environmentalist thereby influencing people worldwide. At a time when computers were just too expensive for the common man to use, Steve jobs along with Steve Wozniak, and Ronald Wayne founded the Apple Computers Inc.in 1976. Their first workspace was in the garage of Jobs'Los Altos home. The following year, Jobs and Wozniak released Apple II, string the microcomputer revolution. The growth of the company had been very fast, and under Jobs' leadership, it introduced the Macintosh 128k computer in 1984, the first PC featuring an internal graphics user interface and a mouse. In 1998, the all-in-one iMac computer was released the first machine...