Java

Java

A language that doesn’t affect the way you think about programming is not worth knowing.  Alan J. Perlis

C is a general purpose, procedural programming language. C was developed by Dennis M. Ritchie at Bell Labs. C was originally first implemented on the DEC PDP-11 computer in 1972.

It was mainly developed as a system programming language to write operating system. The main features of C language include low-level access to memory, simple set of keywords, and clean style, these features make C language suitable for system programming like operating system or compiler development. C programming is highly efficient. That’s the main reason why it’s very popular despite being more than 40 years old. Standard C programs are portable. The source code written in one system works in another operating system without any change.

C is a successor of B language which was introduced around the early 1970s. The language was formalized in 1988 by the American National Standard Institute (ANSI). Today’s most popular Linux OS and RDBMS MySQL have been written in C.

Practice C MCQ Questions here on alfatechlab which will help you to clear your concepts and also to prepare for technical rounds, interviews, competitive exams etc.

C plus plus

C++

A language that doesn’t affect the way you think about programming is not worth knowing.  Alan J. Perlis

C is a general purpose, procedural programming language. C was developed by Dennis M. Ritchie at Bell Labs. C was originally first implemented on the DEC PDP-11 computer in 1972.

It was mainly developed as a system programming language to write operating system. The main features of C language include low-level access to memory, simple set of keywords, and clean style, these features make C language suitable for system programming like operating system or compiler development. C programming is highly efficient. That’s the main reason why it’s very popular despite being more than 40 years old. Standard C programs are portable. The source code written in one system works in another operating system without any change.

C is a successor of B language which was introduced around the early 1970s. The language was formalized in 1988 by the American National Standard Institute (ANSI). Today’s most popular Linux OS and RDBMS MySQL have been written in C.

Practice C MCQ Questions here on alfatechlab which will help you to clear your concepts and also to prepare for technical rounds, interviews, competitive exams etc.

C

C

About C

A language that doesn’t affect the way you think about programming is not worth knowing.  Alan J. Perlis

C is a general purpose, procedural programming language. C was developed by Dennis M. Ritchie at Bell Labs. C was originally first implemented on the DEC PDP-11 computer in 1972.

It was mainly developed as a system programming language to write operating system. The main features of C language include low-level access to memory, simple set of keywords, and clean style, these features make C language suitable for system programming like operating system or compiler development. C programming is highly efficient. That’s the main reason why it’s very popular despite being more than 40 years old. Standard C programs are portable. The source code written in one system works in another operating system without any change.

C is a successor of B language which was introduced around the early 1970s. The language was formalized in 1988 by the American National Standard Institute (ANSI). Today’s most popular Linux OS and RDBMS MySQL have been written in C.

Practice C MCQ Questions here on alfatechlab which will help you to clear your concepts and also to prepare for technical rounds, interviews, competitive exams etc.

Syllabus

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

Contact Form

    Testomonials

    Coding Syllabus

    Tech Syllabus

    A language that doesn’t affect the way you think about programming is not worth knowing.  Alan J. Perlis

    C is a general purpose, procedural programming language. C was developed by Dennis M. Ritchie at Bell Labs. C was originally first implemented on the DEC PDP-11 computer in 1972.

    It was mainly developed as a system programming language to write operating system. The main features of C language include low-level access to memory, simple set of keywords, and clean style, these features make C language suitable for system programming like operating system or compiler development. C programming is highly efficient. That’s the main reason why it’s very popular despite being more than 40 years old. Standard C programs are portable. The source code written in one system works in another operating system without any change.

    C is a successor of B language which was introduced around the early 1970s. The language was formalized in 1988 by the American National Standard Institute (ANSI). Today’s most popular Linux OS and RDBMS MySQL have been written in C.

    Practice C MCQ Questions here on alfatechlab which will help you to clear your concepts and also to prepare for technical rounds, interviews, competitive exams etc.

    Write a code to check whether a number is even or odd

    Q1.Write a code to check whether a number is even or odd

    Here you will find an algorithm and program to check whether a number is an even number or an odd number. First let us understand what is even and odd number.

    Even Number :- Even numbers are the numbers which are divisible by 2. For Example :- 2, 4, 6, 8…

    Odd Number :- Odd numbers are the numbers which are not divisible by 2. For Example :- 1, 3, 5, 7…

    Now let us understand what logic we need to use in this –
    As we know that, to know number is even or odd we used to check its divisibility with 2, so here we will check the remainder we get on dividing the input number with 2 if we get remainder as 0 then it is divisible by 2 and hence it is even number else it is odd number.

    For Example :-

    Input : 10
    Output : Even Number
    Explanation : As we can see that the number given in input, which is 10, on dividing with 2 we get remainder 0 therefore 10 is Even Number.

    Algorithm to check number is even or odd

    \\Algorithm to check number is even or odd.
    START
    Step 1: [ Take Input ] Read: Number N
    Step 2: Check: If N%2 == 0 Then
    Print : N is an Even Number.
    Else
    Print : N is an Odd Number.
    STOP

    Program to check whether the number is even or odd

    Output

    The number 10 is Even number

    Recommended Programs
    Program to find factorial of a number
    Program to count number of digits in a number