Printf & Scanf

Printf & Scanf

Programming Multiple Choice Question – Printf & Scanf

1.What is the purpose of the printf function in C?

  1. To read input from the user
  2. To write output to the screen
  3. To perform arithmetic operations
  4. To allocate memory

Answer: b) To write output to the screen

Explanation: The printf function in C is used to print output to the screen. It allows you to format the output in a specific way, such as adding new lines, tabs, or other characters.

2. What is the output of this program?

#include <stdio.h>
int main()
{
int main = 4;
printf(“%d”, main);
return 0;
}

A. 4
B. Compile time error
C. Run time error
D. give garbage value

Ans : A
Explanation: A C program can have same function name and same variable name so it will print 4

3. Find out the output of following program? if input a is 3 and b is 4

#include <stdio.h>
int main()
{
int a, b;
printf(“%d”, scanf(“%d %d”,&a,&b));
return 0;
}

A. 3
B. 2
C. runtime error
D. compile time error

Ans : B
Explanation: In C, scanf returns the number of inputs it has successfully read it means here is two variable 3 and 4 so scanf return 2(successfully read)

4. What is the output of this program?

#include <stdio.h>
void main()
{
printf(“hello\rworld\n”);
printf(“hello\b\b\bworld\n”);
}

A. world
heworld
B. hello
helloworld
C. helloworld
hellold
D. None of the mentioned

Ans : A
Explanation: ” ” for a backspace, means if u print it, cursor will print and come back 1 character . ‘ ‘ is used for carriage return to come 1 line back or in start of line.

5.What is the output of this program?

#include <stdio.h>
int main()
{
int i;
i = printf(“alfatechlab”);
i = printf(“%d “, i);
printf(“%d “, i);
return 0;
}

A. Alfatechlab 11 3
B. Alfatechlab 14 2
C. Alfatechlab 12 3
D. Compilation Error

Ans : A
Explanation: In C, printf() returns the number of characters successfully written on the output. Here Alfatechlab contain 11 character therefore i = 11 and then i is printed now again value of printf is assign but this time it print 3 since it contain 3 character %,d and space.
i = printf(“alfatechlab”); // print 11
i = printf(“%d “, i);// 3

6. Output of this statement is :

printf ( “%d” , printf ( “Alfatechlab” ) );

A. Syntex Error
B. Alfatechlab11
C. gives garbage value
D. print hello and terminates

Ans : B
Explanation: Firstly inner printf executes and will print Alfatechlab now this return the number of character printed that is 11 and this will be printed by outer printf . Hence output is Alfatechlab11

7. What is the output of this program?

#include <stdio.h>
# define scanf “%s Learn Coding “
main()
{
printf(scanf, scanf);
return 0;
}

A. %s Learn Coding Learn Coding
B. %s Learn Coding, %s Learn Coding
C. Invalid Syntex
D. Run time error

Ans : B
Explanation: printf statement will become printf(“%s Learn Coding, %s Learn Coding “);

8. What is the output of this program?

#include <stdio.h>
int main()
{
printf(“%d”, main);
return 0;
}

A. Goes in infinite loop
B. Compilation Error
C. Gives garbage value
D. Gives Address of function main

Ans : D
Explanation: Name of the function is actually a pointer variable to the function and prints the address of the function.

9. What is the output of this program?

#include <stdio.h>
int main()
{
int i;
i = 4, 5, 6;
printf(“%d”, i);
return 0;
}

A. 4
B. 5
C. 6
D. Invalid Syntax


Ans : A
Explanation: Associativity of comma operator is from left to right, but = operator has higher precedence than comma operator.Therefore the statement i = 4, 5, 6 is treated as i = 4 .

10. Comment on the given statment:

scanf(“%d”,i);

A. Will give Segmentation fault
B. Will execute without any error
C. Will give Compilation Error
D. None of the above

Ans : A
Explanation: A segmentation fault occurs when a program attempts to access a memory location that it is not allowed to access, or attempts to access a memory location in a way that is not allowed.So as we can see segmentation fault occurs because program attempts to access a memory location that it is not allowed to access.

11. What is the output of this program?

#include <stdio.h>
int main()
{
int x = 1, y = 2;
printf(“%d,%d”, x, y);
return 0;
}

A. 12
B. 1,2
C. Compilation Error
D. Garbage Value

Ans : A
Explanation: Printf function print all %d value of passing variable

12. What is the output of this program?

#include <stdio.h>
int main()
{
int x = 3, y = 5;
printf(“%*d”, x, y);
return 0;
}

A. 3
B. 5
C. Compilation Error
D. Garbage Value

Ans : B
Explanation: the “*” above means or is used to specify the length of space required to print the integer and printf now takes two arguments one for space and other for integer so printf(“%*d”, x, y); will be print 5

13. What is the output of this program?

#include <stdio.h>
int main()
{
char str[25];
printf(” %d “,printf(“c-hello”));
return 0;
}

A. 7 c-hello
B. 9 c-hello
C. c-hello 9
D. c-hello 7

Ans : D
Explanation: Inner printf() will print first and then outer printf will display the length of the inner printf’s string.

14. What is the output of this program?

#include <stdio.h>
# define loop while(true)
int main()
{
loop;
printf(“c-alfatechlab”);
return 0;
}

A. Compilation error
B. c-alfatechlab
C. program never ends
D. None of the above

Ans : A
Explanation: error: ‘true’ undeclared (first use in this function)

15. What is the output of this program?

#include <stdio.h>
int main()
{
printf(“%d”, 5.00);
return 0;
}

A. Compilation error
B. 5.00
C. 5
D. Garbage value

Ans : D
Explanation: The output will be garbage value.

16. What is the output of this program?

#include <stdio.h>
int main()
{
printf(“%d”,5.25);
return 0;
}

A. Compilation error
B. Garbage value
C. 5
D. 0

Ans : B
Explanation: Give Garbage value becausse 5.25 is neitheir a pure integer number(5) nor impure integer number(5.00).

17. What is the output of this program?

#include <stdio.h>
int main()
{
int a = 3;
printf(“%d”);
return 0;
}

A. Garbage value
B. Compilation error
C. 3
D. Runtime error

Ans : A
Explanation: As there is no declaration of variable a in printf function, a standard C compiler printf some garbage value as an output. This program is tested under Dev cpp and in standard online c compiler.

18. What is the output of this program?

#include <stdio.h>
int main()
{
char *ptr = “Welcome”;
printf(ptr+2);
return 0;
}

A. pointer cannot be initialized
B. lcome
C. Runtime error
D. Welco

Ans : B
Explanation: In printf, initial address of *ptr is incremented by 2 , thus it neglect “We” to welcome

19. What is the output of this program 32 bit c compiler ?

#include <stdio.h>
int main()
{
int x = 1;
printf(“%d %p”,x,x);
return 0;
}

A. Runtime error
B. 1 0x1
C. 1 00000001
D. %p is not a format specifier

Ans : B
Explanation: %p is a format specifier to print a pointer in printf or sprintf. For 64 bit c compiler, the output will be 1 0x1

20. What is the output of this program?

 

#include <stdio.h>
static struct student
{
int x;
int y;
}
struct_var{2,3};
int main()
{
printf(“%d %d”,struct_var.x,struct_var.y);
return 0;
}

A. Runtime Error
B. Improper representation of structure variable
C. 2 3
D. Compilation error

Ans : D
Explanation: It will give compilation error.

20. What is the output of this program?

#include <stdio.h>
static struct student
{
int x;
int y;
}
struct_var{2,3};
int main()
{
printf(“%d %d”,struct_var.x,struct_var.y);
return 0;
}

A. Runtime Error
B. Improper representation of structure variable
C. 2 3
D. Compilation error

A. Runtime Error
B. Improper representation of structure variable
C. 2 3
D. Compilation error

Ans : D
Explanation: It will give compilation error.

21. What is the output of this program?

int main() {
int i=1;
i=2+2*i++;
printf(“%d”,i);
return 0;
}

A. 2
B. 3
C. 4
D. 5

Ans : C
Explanation: This is undefined behaviour, since i is modified more than once between sequence points. For instance, this compiler gives 4 as the answer, because it puts the increment after the assignment. Another reasonable answer is 6, if the increment is before the assignment.

22. What is the output of this program?

main ( )
{
int i;
i=1;
i=i+2*i++;
printf( “%d” , i);
}

A. 2
B. 3
C. 4
D. 5

Ans : C
Explanation: This is undefined behavior, since i is modified more than once between sequence points. For instance, this compiler gives 4 as the answer, because it puts the increment after the assignment

23. What is the output of this program?

main()
{
int a;
a = 4+3, 4>3, 1;
printf( “%d” , a);
}

A. 7
B. 4
C. 3
D. 5

Ans : A
Explanation: 7 is the output of this program.

24. What is the output of this program?

main ()
{
int a =6;
printf( “%d %d %d ” , a,a<<2,a>>2);
}

A. 6 24 1
B. 5 1 20
C. 5 20 20
D. 5 1 1

Ans : A
Explanation: << and >> operation applied on the value of “i” and we get the output.6 24 1

25. What is the output of this program?

main ( )
{
int a=8;
printf( “%d %d %d ” , a,a<<2,a<<2);
}

A. 8 32 32
B. 5 1 20
C. 5 20 20
D. 5 1 1

Ans :A
Explanation: << operation applied on the value of “i” and we get the output.8 32 32

26. What is the output of this program?

int main()
{
int i=2;
printf( “%d %d %d ” , i,i<2,i>2);
return 0;
}

A. Compilation error
B. Garbage value
C. 5 0 1
D. 2 0 0

Ans : C
Explanation: The code will successfully compiled and give output 2 0 0

27. What is the output of this program?

int main()
{
int i=7;
printf( “%d %d %d ” , i,i&&2,i||2);
return 0;
}

A. 5 1 1
B. Compilation error
C. Garbage value
D. 7 1 1

Ans : D
Explanation: The code will successfully compiled and give output 7 1 1 .

28. What is the output of this program?

int main()
{
int i=6;
printf( “%d %d ” , i,i/2);
return 0;
}

A. 5 7
B. 6 3
C. Garbage value
D. 5 0

Ans : B
Explanation: The code will successfully compiled and give output 6 3 .

29. What is the output of this program?

int main()
{
int i=2;
i=i+i*i++;
printf(“%d”,i);
return 0;
}

A. 2
B. 9
C. 4
D. 5

Ans : B
Explanation: The code will successfully compiled and give output 9.

30. What is the output of this program?

int main()
{
int i=-5;
i=i+i*i++;
printf(“%d”,i);
return 0;
}

A. -2
B. 1
C. -1
D. 16

Ans : D
Explanation: The code will successfully compiled and give output 16.

31. What is the output of this program?

int main()
{
int k=5;
printf(“%d == 1 is” “%s”, k, k==1?”TRUE”:”FALSE”);
return 0;
}

A. k == 1 is TRUE
B. 1 == 1 is TRUE
C. 1 == 1 is FALSE
D. 5 == 1 isFALSE

Ans : D
Explanation: the output of the program is 5 == 1 isFALSE

32. What is the output of this program?

int main()
{
int k=0;
printf(“%d == 1 is” “%s”, k, k==1?”TRUE”:”FALSE”);
return 0;
}

A. k == 1 is TRUE
B. 2 == 1 is TRUE
C. 0 == 1 isFALSE
D. K == 1 is FALSE

Ans : C
Explanation: the output of the program is 0 == 1 isFALSE

33. What is the output of this program?

char *str = “char *str = %c%s%c; main(){ printf(str, 2, str, 2);}”;
int main()
{
printf(str, 4, str, 4);
return 0;
}

A. char *str = char *str = %c%s%c; main(){ printf(str, 2, str, 2);}; main(){ printf(str, 2, str, 2);}
B. char *str = %c%s%c; main(){ printf(str, 4, str, 4);}
C. No output
D. Error in program

Ans : A
Explanation: char *str = char *str = %c%s%c; main(){ printf(str, 2, str, 2);}; main(){ printf(str, 2, str, 2);} is the output of this program.

34. What is the output of this program?

main ( )
{
float a=3.2547;
printf(“%2.3f”, a);
return 0;
}

A. 4
B. 4.159
C. 3.255
D. 4

Ans : C
Explanation: float a=3.2547; The variable a is declared as an float data type and initialized to value 3.2547; printf(“%2.3f “, a); The precision specifier tells .3f tells the printf function to place three number after the .(dot). Hence the output is 3.255

35. What is the output of this program?

main ( )
{
float a=6.3214;
printf(“%2.1f”, a);
return 0;
}

A. 4
B. 4.1
C. 6.3
D. 4

Ans : C
Explanation: float a=6.3214; The variable a is declared as an float data type and initialized to value 6.3214; printf(“%2.1f “, a); The precision specifier tells .1f tells the printf function to place one after the .(dot). Hence the output is 6.3

36. What is the output of this program?

int main()
{
printf(“%c”, ~(‘D’*-1));
return 0;
}

A. A
B. B
C. C
D. D

Ans : C
Explanation: The code will successfully compiled and give output C.

37. What is the output of this program?

int main()
{
printf(“%c”, ~(‘p’*-1));
return 0;
}

A. o
B. s
C. m
D. n

Ans : A
Explanation: The code will successfully compiled and give output o.

38. What is the output of this program?

int main()
{
char *p;
p=”%d”;
p++;
p++;
printf(p-2, 20);
return 0;
}

A. 11
B. 20
C. Error
D. No output

Ans : B
Explanation: The code will successfully compiled and give output 20

39. What is the output of this program?

int main()
{
printf(“%%%%%%”);
return 0;
}

A. %%%
B. %%
C. No output
D. Error

Ans : A
Explanation: The code will successfully compiled and give output %%%.

40. What is the output of this program?

int main()
{
int a=120;
printf(“%1d<0x1d>”, a);
return 0;
}

A. 1250
B. 2
C. 50
D. 120<0x1d>

Ans : D
Explanation: int a=120; The variable a is declared as an integer type and initialized to value 120. printf(“%1d<0x1d> “, a); It prints the value of variable a. Hence the output of the program is 120.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.
Categories C

About History

C About & History

1. Who is the father of Programming Language C?

A. Ada Lovelace
B. Dennis Ritchie
C. Tim Berners-Lee
D. Alan Turing

Ans : B
Explanation:  C programming language was  developed by Dennis Ritchie in  1972 at the Bell Laboratories of the AT & T that is located in U.S.A. So we call  Dennis Ritchie is the founder of c language. . 

2. where was the c language developed ?

A. Stanford Lab
B. MIT Lab
C. Harvard University
D. AT & T Bell Laboratory

Ans : A
Explanation:  The C programming language was developed  at AT & T Bell laboratories during 1970-72s

3. Many features of C were derived from which language ?

A. PASCAL
B. B
C. BASIC
D. FORTRAN

Ans : B
Explanation: Richie and Thompson wanted to rewrite the operating system in B, a language they had previously developed, but B were type worthy, and therefore mixed bits / words were not well suited for address and PDP-11 type . B was a simplified version of Thompson’s BCPL, which was more ALGOL than the language.

4. What is C language?

A. C language is a structure/procedure oriented
B. C language is a middle level programming language
C. C language was invented for implementing UNIX operating system
D. All of the above

Ans : D
Explanation: C language is just a high level computer language. High level languages help Human beings to express Logic. Computers dont understand this language. So, you need a mediator. This mediator is usually a Compiler or Interpreter. In case of C, we have a compiler. The compiler translates the logic expressed in C into Machine Code which is the language of computers.

5. First version of C Programming language is ____ .

A. K&R
B. C89
C. ANSI
D. R&K

Ans : A
Explanation: In 1978, Brian Kernighan and Dennis Ritchie published the first edition of The C Programming Language known as “K&R” .

6. C was initially used for

A. General purpose
B. System development work
C. Data processing
D. None of these

Ans : B
Explanation: C was initially used for system development work, particularly the programs that make-up the operating system.

7. C programming language is

A. Procedural language
B. Object Oriented language
C. Scripting languages
D. None of these

Ans : A
Explanation: C programs follow a procedure of steps written in it, called functions. It follows a top-down approach i.e. much importance is given to flow of program rather than on data on which functions operate.

8. Which Committee standardize C Programming Language ?

A. IEEE
B. ISO
C. IEC
D. ANSI

Ans : D
Explanation: American National Standards Institute.ANSI C (these days better known as C89) was the first standardized form of the C language.

9. Which year C language is developed?

A. 1970
B. 1971
C. 1972
D. 1973

Ans : C
Explanation: C programming language was developed at Bell Laboratories in 1972 by Dennis Ritchie.

10. Which of these is not an example for IDE in C?

A. Turbo
B. Pycharm
C. Code::Blocks
D. Borland

Ans : B
Explanation: Pycharm used for python While Turbo and Code:: Blocks are IDE of C

11. Which of these is true about embedded C?
i)Embedded C is the extension of C programming language
ii)Embedded C is used to develop micro controller based applications.
iii)Embedded C includes features not available in normal C like fixed-point arithmetic, named address spaces, and basic I/O hardware addressing.

A. Only i & ii
B. Only i & iii
C. Only ii & ii
D. All of the above

Ans : D
Explanation: An Extension of C programming language with header files is known as embedded C. It provides the supportive framework to the processor functioning in the embedded devices for programs development. There are so many examples of embedded C programming, we use on the daily basis one of them is smart phone, other examples are RAM, ROM for limited resources. Embedded C is the extension of C programming language.Embedded C is used to develop micro controller based applications.Embedded C includes features not available in normal C like fixed-point arithmetic, named address spaces, and basic I/O hardware addressing

12. C can be used on?

A. Only MS-Dos operating System
B. Only Linux operating system
C. Only Windows operating system
D. All of the above

Ans : D
Explanation: C can be used on all of the above operting system.MS-Dos operating SystemLinux operating systemWindows operating system

 

13. Which is not a character Of C?

A. $
B. ^
C. –
D. |

Ans : A
Explanation: $ is not a character Of C

14. Which is true in case of ANSI C?

A. Comments are represented in /* and */
B. Nested comments are not allowed
C. Comments are not allowed within a string constant
D. Nested comments are allowed

Ans : B
Explanation: Nested comments are not allowed in case of ANSI C.

15. Identify the wrong Statement?

A. #define /* symbolic constant */ Max 100
B. int /*declaration*/ a,b;
C. char c1,c2;
D. #define MAX 25;

Ans : D
Explanation: #define MAX 25; is wrong Statement.

16. Identify the correct statement?

A. The variable names VOLUME and volume are identical
B. The variable names sun and sun are identical
C. Variables are not declared before use
D. Variable may he absent in a declaration.

Ans : D
Explanation: Variable may he absent in a declaration is the correct statement

17. An escape sequence commence with

A. \
B. /
C. ?
D. #

Ans : A
Explanation: An escape sequence commence with .

18. Identify the wrong statement?

A. # define is a preprocessor facility.
B. # define aids in modifying a constant value throughout the program.
C. # define improves the readability of the program.
D. # define uses a statement terminator.

Ans : D
Explanation: # define uses a statement terminator is the wrong statement.

19. Where does the execution of every C program starts?

A. Every C program starts in the initialize ( ) function.
B. Every C program starts in the begin ( ) function.
C. Every C program starts in the main () function.
D. Every C program starts in the start ( ) function.

Ans : C
Explanation: The execution of every C program starts from  main function – main()

20. Identify the separator(s) in C?

A. white space character
B. Comments
C. Both A and B
D. None of these 

Ans : C
Explanation: comments and white space character are the  separator(s) in C.

21. A program which translates a high level language into a machine level  language  is know as 

A. Compiler
B. Interpreter
C. Both A and B
D. none of the above

Ans : C
Explanation: A program which translates a high level language  into a machine level language is know as both Compiler and Interpreter.

22. Indicate which of the following is not true about an interpreter?

A. Interpreter generates an object program from the source program
B. Interpreter is a kind of translator
C. Interpreter analysis each source statement every time it is to be executed
D. None of the above

Ans : D
Explanation: None of the above statement is indicate not true about an interpreter

23. The errors that can be pointed out by the compiler are?

A. logical error
B. semantic error
C. Syntax errors
D. All of above

Ans : C
Explanation: The errors that can be pointed out by the compiler are syntax errors

24. Which of the following statements is not true?

A. A FORTRAN program written for the IBM-PC, is totally different from a FORTRAN program written for the execution of SUN machine.
B. FORTRAN is a high-level language
C. FORTRAN is extensively used write program for performing scientific computations
D. None of the above

Ans : A
Explanation: A FORTRAN program written for the IBM-PC, is totally different from a FORTRAN program written for the execution of SUN machine is not true.

25. The language C is

A. an assembly language
B. a machine language
C. a third generation high level language
D. none of the above

Ans : C
Explanation: The language C is a third generation high level language

26. A program that converts a high level language program to a set of instructions that can run on a machine is know as  ?

A. editor
B. debugger
C. compiler
D. All of  above

Ans : C
Explanation: A program that converts a high level language program to a set of instructions that can run on a machine is called  compiler.

27. The mapping from assembly language instructions into machine language instructions is?

A. one-one
B. many-many
C. many-one
D. one-many

Ans : A
Explanation: The mapping from assembly language instructions into machine language instructions is one to one

28. A compiler is

A. a machine-independent and OS-independent
B. machine-dependent and OS-dependent
C. machine-dependent and OS-independent
D. machine-independent and OS-dependent

Ans : B
Explanation: A compiler is machine-dependent and OS-dependent

29. Which one of the following statement is incorrect?

A. A compiler compiles the source program
B. An assembler takes an assembly program as input.
C. A compiler does the same type of function as interpreter
D. None of the above

Ans : C
Explanation: A compiler does the same type of function as interpreter is not true.

30. C compiler traps

A. logical errors
B. syntax errors
C. Both A and B
D. none of the above

Ans : B
Explanation: C compiler traps syntax errors .

31. A translator which reads an entire pro-gram written in high level and converts it into machine language code is?

A. Compiler
B. Translator
C. Assembler
D. System software

Ans : A
Explanation: A translator which reads an entire pro-gram written in high level and converts it into machine language code is Compiler.

32. Which of the following is not one of the processes that a high level language program must go through before it is ready to be executed

A. Translation
B. Controlling
C. Loading
D. Linking

Ans : B
Explanation: The following is not one of the processes that a high level language program must go through before it is ready to be executed is “Controlling”.

 

33. Which of the following is related to machine language?

A. Difficult
B. First generation to learn language
C. Machine
D. All of the above

Ans : D
Explanation: The following is related to machine language is all.

34. C is a

A. High level language with low level features
B. Completely low level language
C. Completely high level language
D. none of the above

Ans : A
Explanation: C is a High level language with low level features.

Categories C

ब्लॉग पोस्ट को गूगल में रैंक कराने के लिए 12 टिप्स और ट्रिक

SEO Writing : वेबसाइट को गूगल में रैंक कराने के लिए 12 टिप्स और ट्रिक

ब्लॉग लिखने से  पहले आपको यह समझना होगा  की जो आप लिखने वाले है बहुत से लोग ऐसा लिख चुके हैं और आगे भी बहुत से लोग इस विषय पर लिखेंगे तो फिर प्रश्न  यह है की मैं अपना ब्लॉग पोस्ट कैसे लिखू की गूगल में रैंक कर जाए ?” अगर आपका प्रश्न यही है तो  आप बल्कुल सही जगह हैं |

नमस्कार मेरा नाम आनंद सिंह है और मैं पिछले 5 वर्षो से blogging कर रहा हूँ साथ ही साथ digital marketing में SEO राइटिंग मुझे बेहद पसंद हैं |

इस ब्लॉग में मैं 12 इसे टिप्स बताऊंगा जो 100% practical है और आपके वेबसाइट को निश्चित ही रैंक कराएगा |

1.सर्वप्रथम अपने ब्लॉग पोस्ट के लिए एक सही एवं सटीक Heading लिखे :

हेडिंग लिखने के लिए आप अपने आप को एक user समझे और सोचे की गूगल में क्या टाइप किया जाए जो मेरे ब्लॉग पोस्ट तक  गूगल पहुच सके क्यों की गूगल का crawler आपके  हेडिंग से ही आपके ब्लॉग का बारे में अनुमान लगता हैं यदि  आपका हेडिंग सहीं नहीं होगा तो आपके  ब्लॉग को गूगल crawler पढ़ नहीं  पाएगा जिसके कारण आपका ब्लॉग पोस्ट गूगल में इंडेक्स नहीं होगा और पोस्ट रैंक नहीं करेगा | यह एक कीवर्ड रिसर्च का विषय हो सकता हैं साथ ही साथ  आपको अपने ब्लॉग पोस्ट के अनुसार हैडिंग लिखना हैं जो आपके  ब्लॉग को सही – सही विवरण करें| 

आप सोचे की  गूगल crawler आपके ब्लॉग पोस्ट का  एक पाठक है जो आपके ब्लॉग पोस्ट को पढ़ रहा है  और वह आपके पोस्ट का h1 , h2 h3 टैग के माध्यम से संक्षिप्त विवरण इक्कठा कर रहा है | 

तो मतलब साफ़ है आपको एक ऐसा हेडिंग लिखना है जो ज्यादा से ज्यादा असरदार एवं सटीक हो ,अगर आप ऐसा हेडिंग लिखेंगे तो निश्चित ही आपका  ब्लॉग पोस्ट  गूगल सर्च रिजल्ट्स पेज (SERP) में रैंक करेगा ||

2: अपने ब्लॉग पोस्ट को गूगल के featured snippets के लिए ऑप्टिमाइज़ करे

जब कोई  गूगल में कुछ सर्च करता है तो featured snippets उसका  डायरेक्ट उत्तर देता है | जैसे की अगर मैं गूगल पर सर्च करू “ हिंदी में ब्लॉग कैसे लिखे “ तो मुझे सबसे ऊपर कुछ पंक्ति का उत्तर मिलेगा 

google featured snippets result

अगर आप चाहते हैं की आपका ब्लॉग पोस्ट के   featured snippets में दिखे तो आपको किसी प्रश्न के उत्तर  सटीक और संक्षेप रूप में लिखे |

अपने उत्तर लिखने के लिए बुलेट पॉइंट या नंबर का प्रयोग करे क्यों की गूगल के featured snippets में प्राय: लिस्ट या कुछ बुलेट पॉइंट को ही प्रदर्शित करता है |

अगर आप चाहते हैं  की आपका बुलेट पॉइंट गूगल snippets  में प्रदर्शित हो तो आपको अपने उत्तर को 58 शब्द से अधिक नहीं लिखना होगा 

3: अपना ब्लॉग इंसानों के लिए लिखे ना की सर्च इंजन के लिए

आपको अपने ब्लॉग लिखने से पूर्व अपने पाठको के बारे में सोचना चाहिए साथ ही साथ आपका ब्लॉग पोस्ट पढने में आसन और मजेदार होना चाहिए |

आपके ब्लॉग पोस्ट के शब्द ज्यादा कठिन नहीं होने चाहिए तथा पोस्ट के बीच -बीच में पाठको के उत्साह वर्धन करना चाहिए |ब्लॉग पोस्ट में कुछ भी ऐसा न लिखे जो उबाऊ और बिना काम का हो इस से पाठक आपके ब्लॉग पोस्ट को छोड़ के जा सकता है |

हेडिंग , सब – हेडिंग तथा लिए गए पिक्चर स्पष्ट एवं पाठक के आवश्यकता अनुसार होना चाहिए पर याद रहे ब्लॉग पोस्ट में पूरी जानकारी हो | इसके लिए आप कंटेंट राइटिंग SEO टूल का प्रयोग कर सकते हैं |

4 : कीवर्ड को अपने ब्लॉग पोस्ट के मेटा डिस्क्रिप्शन में जरुर जोड़े

क्या आप अपने कीवर्ड को meta  description में नहीं जोड़ते?, यदि आपका उत्तर हैं -”नहीं” तब  ज्यादा संभावना है की आपका ब्लॉग पोस्ट गूगल में रैंक नहीं  करेगा इसलिए आपको अपने कीवर्ड को मेंटा डिस्क्रिप्शन में अवश्य जोड़ना चाहिए | 

आइये हम जानते  हैं यह  क्यों आवश्यक है –

Note : इस ब्लॉग पोस्ट में  मैं कुछ भी ऐसा नहीं लिखा हूँ  जो केवल सर्च इंजन के दृष्टिकोण से हो बल्कि मैंने वह सब आइडिया लिखा है जिसका प्रयोग कर के मैं ब्लॉग राइटिंग से प्रति मान 2000$ तक कमाता हूँ आप भी इसे फॉलो करें निश्चित ही आपका ब्लॉग भी रैंक करेगा |

जैसा की हम अभी तक ये सीखे हैं की कैसे गूगल हेडिंग,सब हेडिंग,कीवर्ड और featured snippets के उपयोग से जुड़ता है अब हम मेटा डिस्क्रिप्शन  के बारे में कुछ महत्वपूर्ण बाते जानेगे 

गूगल crawls के लिए मेटा डिस्क्रिप्शन एक महत्वपूर्ण तथ्य हैं  जिसके कारण आपका ब्लॉग पोस्ट गूगल सर्च में रैंकिंग करता है यह दो से तीन वाक्यों का लिखा होता है  जो प्राय: हेडिंग के विस्तार रूप होता है |

मेटा डिस्क्रिप्शन  लिखते समय निम्नलिखित महत्वपूर्ण बिन्दुओं पर ध्यान दें :-

  • इसे छोटा लिखे 
  • दो या तीन कीवर्ड का उपयोग करें 
  • यह सटीक और उपयोगी हो 

  अगर आप wordpress वेबसाइट का उपयोग करते हैं तो yoast plugin के उपयोग से मेटा डिस्क्रिप्शन लिख सकते हैं 

5. अपने सभी ईमेज में alt tag अवश्य जोड़े

दि आप अपने ब्लॉग पोस्ट में कोई इमेज  जोड़ना चाहते है तो आपको alt tag जरुर लिखना पड़ेगा क्यों की alt tag गूगल को यह समझने में मदद करता है की आपने यह इमेज अपने ब्लॉग पोस्ट में क्यों जोड़ा है अगर आप इमेज का alt tag नहीं लिखेंगे  तो गूगल कंफ्यूज हो जाता है और पोस्ट को रैंक नहीं करता |इसलिए आपको alt tag लिखने का आदत डालनी चाहिए यह आपके पोस्ट को रैंक कराने में बहुत मदद करेगा | 

नोट :-alt tag रोमन फॉण्ट में ही लिखे |

यह कुछ इस प्रकार हो सकता है :

a business man attending a virtual events with enjoying tea

Alt tag : a business man attending a virtual events with enjoying tea

Hint:- Alt lag लिखने के लिए  आपको इमेज को ध्यान से देखना होगा और उस से जुडी सभी जानकरी शब्दों में लिखना होगा |कहते हैं न हर तसवीरें कुछ कहती हैं |

6. ब्लॉग पोस्ट लिखने से पूर्व कीवर्ड रिसर्च करें

लगभग 70000 सर्च क्वेरीज प्रति सेकंड गूगल द्वारा पूछे जाते हैं तो अगर आप चाहते हैं की किसी क्वेरीज(गूगल सर्च ) पर आपका भी वेबसाइट प्रदर्शित हो तो निश्चित ही आपको कीवर्ड रिसर्च करना होगा |

इसके लिए आप पेड और फ्री कीवर्ड रिसर्च टूल का उपयोग कर सकते हैं जैसे की Google Keyword Planner यह गूगल का फ्री कीवर्ड रिसर्च टूल , पेड़ टूल में Ubersuggest सबसे बेहतर और सस्ता है |

साथ ही साथ आप गूगल ट्रेंडस का भी उपयोग कर सकते हैं इसके प्रयोग से आप यह समझ सकते हैं की गूगल पर हाल फिलहाल में क्या चल रहा है और वहां से आप एक बढ़िया कीवर्ड प्राप्त कर सकते हैं |

कीवर्ड रिसर्च के  दौरान याद रहे की आपको अपने पाठको का भी ध्यान रखना हैं हो सकता है आपका कीवर्ड ट्रेंड में न हो किन्तु अपने  निस को न भूले और ज्यादा से ज्यादा अपने पाठको के ध्यान में रखते हुए कीवर्ड रिसर्च करें | 

7. अपने कीवर्ड में शालीनता रखें ना की रौब

आपके कीवर्ड पाठको के अनुरूप होना चाहिए न की रौबदार यह पूर्ण रूप से प्राकृतिक होना चाहिए कोई बनावटी नहीं क्यों की यह पाठको में संदेह पैदा करता है और आपको पाठक मजाक में ले सकता हैं | जैसे अगर आप एक SEO ब्लॉगर हैं,  “बस इतना कर लो गूगल में वेबसाइट रैंक होगा “  इस प्रकार के कीवर्ड से बचना चाहिए |इसके बजाय लिखे “ 12 ट्रिक जिनके उपयोग से आप अपने ब्लॉग पोस्ट को गूगल में रैंक करा सकते हैं “|

मतलब साफ है की आपको बिना वहज दावा नहीं ठोकना हैं आपको गंभीर और प्राकृतिक तरीके से अपनी बात कहनी हैं |याद रहे आप अपने  पाठको के मदद के लिए ब्लॉग लिख रहे हैं ना की गूगल सर्च इंजन के लिए |

8. अपने वेबसाइट को high-authority से जोड़े

अपने ब्लॉग पोस्ट को बाहरी वेबसाइट से अवश्य जोड़े , घबराइए नहीं इससे आपके वेबसाइट की रैंकिंग बढेगा ही |  प्रतिष्ठित वेबसाइटों से आपके ब्लॉग पोस्ट लिंक होने से उनका ज्ञान का विस्तार बढेगा और आपके प्रति विश्वास , साथ ही साथ सर्च इंजन को भी आपका शोध दिखेगा उसे यकीन होगा की आपने अपने पोस्ट के लिए शोध किया है  | 

प्रतिष्ठित वेबसाइटों के शोध समर्थित डाटा से पाठको का आपके प्रति विश्वास बढेगा और अन्य ब्लॉग पोस्ट पढने के लिए आपके वेबसाइट पर आएंगे और आपका गूगल रैंकिंग बढेगा |

9.सटीक ,सरल एवं विस्तृत जानकारी लिखे

आज के दौर में छोटे कंटेंट का बहुत ज्यादा मांग है फिर भी गूगल को लम्बे और विस्तृत जानकारी से भरा ब्लॉग पोस्ट ही पसंद हैं | 

आपके ब्लॉग पोस्ट की लम्बाई कम से कम 2000 वर्ड होना चाहिए | हालाँकि यह एक आदर्श लम्बाई है फिर भी आपको बड़ा और सम्पूर्ण जानकारी से भरा पोस्ट ही लिखना चाहिए | 

इस से आपका ज्ञान भी बढेगा और ब्लॉग पोस्ट की रैंकिंग |

10. किसी एक ब्लॉग पोस्ट को अन्य दुसरे ब्लॉग पोस्ट से आपस में जोड़े

आपस में एक दुसरे ब्लॉग पोस्ट को जोड़ने से एक बेहतर sitemap बनता है जो गूगल सर्च इंजन को आपके वेबसाइट रैंक कराने में मदद करता है  साथ ही साथ यह पाठको को भी जोड़े रखता हैं तथा उन्हें जरूरी की सभी जानकारी प्रदान होता हैं और आपका वेबसाइट और भी ज्यादा विश्वसनीय बनता है |

लिंक देने हेतु स्पैम टाइप के टेक्स्ट को प्रयोग नहीं करना चाहिए जैसे “click here “

इसके बदले में “ Download your seo guide”  का उपयोग करें |

11. इमेज का साइज़ कम से कम रखे ताकि आपके पेज का लोड स्पीड फ़ास्ट हो

गूगल  तेज गति से लोड होने वाले पेज को बहुत ही पसंद करता है और उसे रिवॉर्ड देता है इस से आपके पाठको का अनुभव भी बेहतर होता है | अगर आपके ब्लॉग पोस्ट पर बहुत से इमेज है और उनका साइज़ 100 kb से अधिक है तो यह आपके ब्लॉग के लिए बहुत बुरा है |इसे आप तुरंत कंप्रेस्ड करें |

ख़ुशी की बात यह है की  बहुत से इमेज कंप्रेस्ड टूल है जैसे  Squoosh.app , जिनके मदद से आप अपने इमेज के गुणवत्ता ख़राब किए बिना कंप्रेस्ड कर सकते हैं | fast loading speed आपके  ब्लॉग पोस्ट  के लिए बहुत आवश्य है | 

अगर आपको लग रहा है की आपके ब्लॉग पोस्ट का रैंकिंग इमेज के कारण निम्न स्तर का है तो आप 

Google’s PageSpeed साईट के मार्गदर्शन  से आप इसे सही कर सकते हैं 

12. link-building रणनीति अपनाएं

link-building आपके सर्च रैंकिंग के लिए अति महत्वपूर्ण तथ्य है |

एक दृश्य की कल्पना करे जिसमें गूगल आपके  एवं आपके साथ मुकाबला कर रहे वेबसाइट को प्रत्येक लिंक पर 1 पॉइंट प्रदान कर रहा है तो इस दौड़ में विजेता वही होगा जिसके पास लिंक का पॉइंट अधिक प्राप्त  होगा | बात साफ है जितना अधिक लिंक उतना अधिक पॉइंट |

धन्यवाद | अगर आपको इस पोस्ट से कोई लाभ हुआ तो इसे जरुर शेयर करे | SEO से जुड़े जानकरी के लिए हमें कमेंट करें |  

Related Search :-

a business man attending a virtual events with enjoying tea

Webstories complete Guide

a business man attending a virtual events with enjoying tea

SEO complete Guide

a business man attending a virtual events with enjoying tea

Content writing strategy

Website Development and blogging in Piro-Alfatechlab

“Website Development and blogging ” course जो आपको Website Development and blogging skill प्रदान करता है | वर्तमान समय में Website Development,Digital Marketing and blogging सबसे ज्यादा नौकरी देने वाला सेक्टर बना है जो भविष्य में और भी फलेगा |
यह कोर्स निम्नलिखित 4 steps में कार्य करता है
1. सबसे पहले हम आपके इच्छा अनुसार विषय को समझते है फिर आपको एक बेहतर website का सलाह देते है | इसे technically [niche finding ] कहा जाता है |
2. इसके बाद हम आपके लिए आपका website develop करते हैं और आपको website बनाना , website पर पोस्ट बनाना एवं अन्य सभी जानकारी जो Blogging के लिए आवश्यक है सीखते है|
3. आपके लिखे गए पोस्ट एवं आपके website को Google Search Engine में optimize करते हैं |
4. आपके website को google से monetize करते हैं अर्थात Google Adsense approved करते हैं
ये उपरोक्त सभी steps में हम आपको blogging के सभी पहलु को बेहतर तरीके से सिखाते हैं ताकि आप आसानी से blogging से कमा सके |