• 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 5

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: 46FirstPrev123456789NextLast
Advertisements

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

every element of a data structure has an address and a key associated with it.a search mechanism deals with two or more values assigned to the same address by using the key what is this search mechanism?
1)linear search 2)binary search 3)hash coded search
4)none of these

Asked In C D HARISEKHAR (10 years ago)
Unsolved Read Solution (10)
Is this Puzzle helpful?   (37)   (13) Submit Your Solution

(#M40018739) C QUESTION C- QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

If we want that any wildcard characters in the command
line arguments should be appropriately expanded, are we
required to make any special provision? If yes, which?

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

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

What is the output of this C code?

#include
int main()
{
char *p = NULL;
char *q = 0;
if (p)
printf(" p ");
else
printf("nullp");
if (q)
printf("qn");
else
printf(" nullqn");
}

a) nullp nullq
b) Depends on the compiler
c) x nullq where x can be p or nullp depending on the value of NULL
d) p q

Asked In C Rajendra Singh (11 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (9)   (7) Submit Your Solution Program

(#M40018748) C QUESTION C- QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

In which order do the following gets evaluated
1. Relational
2. Arithmetic
3. Logical
4. Assignment

Options
1) 2134
2) 1234
3) 4321
4) 3214

Asked In C (12 years ago)
Unsolved Read Solution (9)
Is this Puzzle helpful?   (62)   (31) Submit Your Solution Program

(#M40155279) C QUESTION bit Keep an EYE Keep an eye puzzle Keep an eye puzzle

#include

int main()
{
struct value
{
int bit1:1;
int bit3:4;
int bit4:4;
}bit={1, 2, 13};

printf("%d, %d, %dn", bit.bit1, bit.bit3, bit.bit4);
return 0;
}

A. 1, 2, 13 B. 1, 4, 4
C. -1, 2, -3 D. -1, -2, -13

Asked In C Anshul jain (9 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (5)   (3) Submit Your Solution Output

(#M40155281) C QUESTION bit Keep an EYE Keep an eye puzzle Keep an eye puzzle

#include

int main()
{
struct byte
{
int one:1;
};
struct byte var = {1};
printf("%dn", var.one);
return 0;
}

A. 1 B. -1
C. 0 D. Error

Asked In C Anshul jain (9 years ago)
Unsolved Read Solution (3)
Is this Puzzle helpful?   (6)   (5) Submit Your Solution Definition

(#M40018723) C QUESTION C- QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

What will happen if in a C program you assign a value to an array element whose subscript exceeds the size of array?

Options
1) The element will be set to 0.
2) The compiler would report an error.
3) The program may crash if some important data gets overwritten.
4) The array size would appropriately grow.

Asked In C (12 years ago)
Unsolved Read Solution (12)
Is this Puzzle helpful?   (113)   (42) Submit Your Solution Program

(#M40018449) C QUESTION gems Keep an EYE Keep an eye puzzle Keep an eye puzzle

Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?

Options
1) rem = 3.14 % 2.1;
2) rem = modf(3.14, 2.1);
3) rem = fmod(3.14, 2.1);
4) Remainder cannot be obtain in floating point division.

Asked In C seenivasan (12 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (7)   (3) Submit Your Solution Program

(#M40153811) C QUESTION find the out put of the following program Keep an EYE Keep an eye puzzle Keep an eye puzzle

main()
{
char *str = "12345";
printf("%c %c %cn", *str, *(str++), *(str++));
}

Asked In C Ravi teja (10 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (5)   (3) Submit Your Solution Output

(#M40031339) C QUESTION Problem solving Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is the output of the following program?

void main(){
int a=1;
while(a++ <= 1)
while(a++ <= 2);
printf("%d",a);
}

Asked In C Dinesh thatti (11 years ago)
Unsolved Read Solution (23)
Is this Puzzle helpful?   (38)   (17) Submit Your Solution Output
Keep an EYE (0)
Solved Question (6) UnSolved Question (454)
Pages: 46FirstPrev123456789NextLast
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

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

Maths Quotes

If a problem arise in your mind take help your best friend "mathematics.

yash singh

"maths is all around us, in everything we do"

aashna thakral

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