• Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • English APP
  • login
  • Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • Walkins
    • Corporate Job Exam
    • Government Job Exam
    • Entrance Exam
  • Training
    • Internship
  • Placement Questions
  • /
  • C

Frequently Asked c interview questions and answers for freshers Page 35

c Select Another Category Select Another Topic

Programming and Technical

  • Android 118
  • ASP.NET 60
  • C 459
  • C++ 448
  • DATA STRUCTURE 66
  • DBMS 77
  • ELECTRONICS 39
  • Java 261
  • OOPs Concepts 117
  • Operating Syst 103
  • RDBMS 109
  • UNIX 70

c Question Topics

    Category (16)

    General Ability (2)

  • General Knowledge (2)
  • HR Interview (2)

  • Interview (2)
  • Logical Reasoning (9)

  • Coding Decoding (2)
  • Cryptography (1)
  • General Mental Ability (1)
  • Letter Series (1)
  • Mathematical Reasoning (1)
  • Missing Character (1)
  • Seating Arrangement (1)
  • Numerical Ability (12)

  • Age Problem (1)
  • Algebra (1)
  • Alligation or Mixture (1)
  • Data Interpretation (1)
  • Height and Distance (1)
  • Percentage (2)
  • Ratio and Proportion (1)
  • Time Distance and Speed (1)
  • Programming (218)

  • Arrays (15)
  • Basics (8)
  • Database (6)
  • Definition (25)
  • Functions (4)
  • Output (42)
  • Program (85)
  • Puzzles (1)
  • Technical (24)
  • Variables (1)
  • Verbal Ability (3)

  • Antonyms (1)
  • Miscellaneous (1)
  • Spotting Errors (1)
Keep an EYE (0)
Solved Question (6) UnSolved Question (454)
Pages: 46FirstPrev31323334353637383940NextLast
Advertisements

(#M40029345) C QUESTION C Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. Predict the output or error
main()
{
int i=5,j=6,z;
printf("%d",i+++j);
}

A. 11

Explanation:the expression i+++j is treated as (i++ + j)

Asked In C MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40029344) C QUESTION C Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. Predict the output or error

A. main()
{
main();
}

A. Runtime error : Stack overflow.

Explanation: main function calls itself again and again. Each time the function is called it's return address is stored in the call stack. Since there is no condition to terminate the function call, the call stack overflows at runtime. So it terminates the program and results in an erro

Asked In C MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution
Advertisements

(#M40029342) C QUESTION C Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. Do you know pragma directives in c?

A. Pragma is implementation specific directive i.e each pragma directive has different implementation rule and use. If compiler does not recognize particular pragma it simply ignore that pragma statement without showing any error or warning message and execute the whole program assuming this pragma statement is not present.

Asked In C MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40029339) C QUESTION C Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. Define Operator, Operand, and Expression in 'C'?

A. Operators are symbols which take one or more operands or expressions and perform arithmetic or logical computations. Operands are variables or expressions which are used in operators to evaluate the expression.
Combination of operands and operators form an expression

Asked In C MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40029338) C QUESTION C Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. Differentiate between a linker and linkage?

A. A linker converts an object code into an executable code by linking together the necessary build in functions. The form and place of declaration where the variable is declared in a program determine the linkage of variable.

Asked In C MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40029336) C QUESTION C Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is an argument? Differentiate between formal arguments and
actual arguments?

A. An argument is an entity used to pass the data from calling function to the called function. Formal arguments are the arguments available in
the function definition. They are preceded by their own data types.
Actual arguments are available in the function call

Asked In C MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40029335) C QUESTION C Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is an lvalue?

A. An lvalue is an expression to which a value can be assigned. The lvalue expression is located on the left side of an assignment statement, whereas an rvalue is located on the right side of an assignment statement. Each assignment statement must have an lvalue and an rvalue. The lvalue expression must reference a storable variable in
memory. It cannot be a constant

Asked In C MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40029333) C QUESTION C Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is modular programming?

A. If a program is large, it is subdivided into a number of smaller
programs that are called modules or subprograms. If a complex
problem is solved using more modules, this approach is known as
modular programming

Asked In C MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40029332) C QUESTION C Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. How are pointer variables initialized?

A. Pointer variable are initialized by one of the following two ways
- Static memory allocation
- Dynamic memory allocation

Asked In C MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40029331) C QUESTION C Keep an EYE Keep an eye puzzle Keep an eye puzzle

output?
Q. How does a C program come to know about command line arguments?

A. When we execute our C program, operating system loads the program into memory. In case of DOS, it first loads 256 bytes into memory, called program segment prefix. This contains file tables,environment segment, and command line information. When we compile the C program
the compiler inserts additional code that parses the command, assigning it to the argv array, making the arguments easily accessible within our C program

Asked In C MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution
Keep an EYE (0)
Solved Question (6) UnSolved Question (454)
Pages: 46FirstPrev31323334353637383940NextLast
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

no image
Dimple
India
Punjab
Time: 00:01:33
Points
19

Maths Quotes

There is nothing more deceptive thing in mathematics than an obvious fact.

Conan.O.Doyle

With Mathematics you are Hero, without Mathematics you are Zero.

Piyush Pallaw

Placed User Comments

M4Math helped me a lot.

Vipul Chavan 5 years ago

Thanks m4 maths for helping to get placed in several companies.
I must recommend this website for placement preparations.

yash mittal 5 years ago

Now enjoy Offline Access of latest Question.

Get M4maths app to avail expert's solution and latest selected questions.

Download m4maths app now

  • 2533K+Registerd user
  • 1774K+Engineers
  • 759K+MBA Asprirant
  • 3K+Enginnering College
  • 250+Company Exam
  • 150K+Interview Questions
  • Site Links
  • Home
  • Result
  • Today's Puzzle
  • Discussion Board
  • Maths Tricks
  • Advertise with us
  • Contact Us
  • Useful Info
  • Maths Quotes
  • Previous Puzzles
  • Prize
  • Privacy Policy
  • Disclaimer and Copyright
  • Terms and Conditions
  • Sitemap
  • Placement papers
  • TCS Placement Paper
  • HCL Placement Paper
  • INFOSYS Placement Paper
  • IBM Placement Paper
  • SYNTEL Placement Paper
  • TECHNICAL Interview
  • HR Interview
All rights are reserved to @m4maths.com