Topic — Add New » Posts Last Poster Freshness
Microsoft Interview Question for Software Engineer/Developer (Fresher) about CPuzzles 1 geek4u 2 years

write your own printf in C.

Microsoft
What is the output of below program and why? 3 Kapil 2 years
main()
{
  char *s[]={ "knowledge","is","power"};
  char **p;
  p = s;
  printf("%s ",++*p);
  printf("%s ",*p++);
  printf("%s ",++*p);

  getchar();
  return 0;
}
DE Shaw Interview Question for Software Engineer/Developer (Fresher) about CPuzzles 2 kartik 2 years

can we access static variable in other file?

DE Shaw
DE Shaw Interview Question for Software Engineer/Developer (Fresher) about CPuzzles 2 kartik 2 years

What are different storage classes?

DE Shaw
DE Shaw Interview Question for Software Engineer/Developer (Fresher) about CPuzzles 2 kartik 2 years

what is register storage class? Many other standard C questions ?

DE Shaw
DE Shaw Interview Question for Software Engineer/Developer (Fresher) about CPuzzles 2 kartik 2 years

What is extern?

DE Shaw
Barclays Interview Question about CPuzzles 2 Kapil 2 years

How to find the maximum rectangle in a histogram, and write C++ to implement it.

Barclays
Qualcomm Interview Question for Software Engineer/Developer about CPuzzles 2 2 years

In c++ there was a question to find the difference between assignment and copy-constructor

Qualcomm
[closed] Amazon Interview Question for Software Engineer/Developer about CPuzzles 2 geeksforgeeks 2 years

What are static functions in C?

Amazon
Qualcomm Interview Question for Software Engineer/Developer about CPuzzles 3 Shekhu 2 years

how much space is allocated by the expression " int *a[10]" if size of int is 4 and size of int pointer is 2

Qualcomm
Interview Question 2 kartik 2 years

What problems might the following macro bring to the application?

#define sq(x) x*x

C array question 2 kartik 2 years

Is it possible to pass array by value?

Adobe Interview Question for Software Engineer/Developer about CPuzzles 2 gauthamns 2 years

Differences between malloc() and calloc()

Adobe
Adobe Interview Question for Software Engineer/Developer about CPuzzles 2 gauthamns 2 years

A C program that prints itself.

Adobe
Byte swap 2 2 years

How to write code in c to swap bytes.if i have a variable b=0x2255.After swap it should be 0x5522

TCS Interview Question for Software Engineer/Developer (Fresher) about CPuzzles 2 Shekhu 2 years

What is the output of below program?

#include<stdio.h>
main()
{
  char *p = "ayqm";
  printf("%c",++*(p++));
}
TCS
C++ 2 2 years

C struct can't have any const or enum varibles, as varible can't be initialized in struct.
then Why can C++ class contain const members and enums?