skip to main | skip to sidebar

C for Geeks

For all C lovers and geeks

  • 0

    Error Type: LValue required

    Saturday, 28 July 2012 | Unknown at 09:32 | Labels: Advanced, C, c advanced concepts, c for geeks, C interview questions, Concepts, Interview questions, questions asked in tally interview
    We often get an error lvalue required? What is that? e.g when we write a code like this: int x=10; y=++x++; We get this type of erro...
    Read more »
    Email This BlogThis! Share to X Share to Facebook
  • 0

    Important Difference between pointer to string and pointer to float or int

    Unknown at 09:19 | Labels: Advanced, C, c advanced concepts, c for geeks, C interview questions, Concepts, Interview questions, questions asked in tally interview
    A pointer definition does not allocate space for what's pointed at, only for the pointer, except when assigned a literal string. For ...
    Read more »
    Email This BlogThis! Share to X Share to Facebook
  • 0

    which one is declaration and which one is definition?

    Unknown at 02:48 | Labels: Advanced, C, c advanced concepts, c for geeks, C interview questions, Concepts, Interview questions, questions asked in tally interview
    We often get confused between declaration and definition. Don't worry. After this article, It will not happen again. Trust me. Defin...
    Read more »
    Email This BlogThis! Share to X Share to Facebook
  • 4

    Tricky Question asked in tally

    Unknown at 00:45 | Labels: Advanced, C, c advanced concepts, c for geeks, C interview questions, Concepts, Interview questions, questions asked in tally interview
    What will be output if you will compile and execute the following c code? struct   marks {   int   p :3;   int   c :3;   int  ...
    Read more »
    Email This BlogThis! Share to X Share to Facebook
  • 0

    How to make a C function to be visible inside a file only

    Friday, 27 July 2012 | Unknown at 09:50 | Labels: Advanced, C, c advanced concepts, c for geeks, C interview questions, Concepts, Interview questions, questions asked in tally interview
    Whenever you define a C function, its name is globally visible by default. You can prefix the function name with the redundant extern k...
    Read more »
    Email This BlogThis! Share to X Share to Facebook
  • 0

    World's First Worm

    Unknown at 04:13 | Labels: Advanced, C, c advanced concepts, c for geeks, C interview questions, Concepts, Interview questions, questions asked in tally interview
    The problems in C are not confined to just the language. Some routines in the standard library have unsafe semantics. This was dramatical...
    Read more »
    Email This BlogThis! Share to X Share to Facebook
  • 11

    Array and String related Interview questions asked in Google

    Unknown at 02:34 | Labels: Advanced, C, c advanced concepts, c for geeks, C interview questions, Concepts, Interview questions, questions asked in tally interview
    1.1 Implement an algorithm to determine if a string has all unique characters. What if you can not use additional data structures? _ ___...
    Read more »
    Email This BlogThis! Share to X Share to Facebook
  • 0

    Few rules which every C compiler has to comply with

    Thursday, 26 July 2012 | Unknown at 09:16 | Labels: Advanced, C, c advanced concepts, c for geeks, C interview questions, Concepts, Interview questions, questions asked in tally interview
    1. There can be atleast 31 arguments in the function call 2. There can be atleast 509 lines of code in any C program. 3. There can be atl...
    Read more »
    Email This BlogThis! Share to X Share to Facebook
  • 0

    Which came first, Unix or C?

    Unknown at 09:07 | Labels: Advanced, C, c advanced concepts, c for geeks, C interview questions, Concepts, Interview questions, questions asked in tally interview
    This is very interesting question same as egg-hen problem. Technically unix was designed much before the advent of c. Most of Unix codin...
    Read more »
    Email This BlogThis! Share to X Share to Facebook
  • 0

    Outputs of following programs

    Wednesday, 25 July 2012 | Unknown at 22:00 | Labels: Advanced, C, c advanced concepts, c for geeks, C interview questions, Concepts, Interview questions, questions asked in tally interview
    1. What will be output of following program? #include <stdio.h> int  main(){    int  a = 320;    char  *ptr;    ptr =( ...
    Read more »
    Email This BlogThis! Share to X Share to Facebook
  • 1

    output of following c program

    Unknown at 06:15 | Labels: Advanced, C, c advanced concepts, c for geeks, C interview questions, Concepts, Interview questions, questions asked in tally interview
    #include<stdio.h> void main()  {   int x=3,y;  y=++x * ++x * ++x; printf("y=%d",y); } output:- 216 ++x will mak...
    Read more »
    Email This BlogThis! Share to X Share to Facebook
  • 0

    What is the output of following program?

    Tuesday, 24 July 2012 | Unknown at 12:21 | Labels: Advanced, C, c advanced concepts, c for geeks, C interview questions, Concepts, Interview questions, questions asked in tally interview
    #include<stdio.h> void main()  {    int a; a=300*300/300; printf("a=%d",a);  } output is: 81 in turbo c++ compile...
    Read more »
    Email This BlogThis! Share to X Share to Facebook
  • 0

    Beginner C: Learn about 'NULL' Keyword

    Unknown at 12:15 | Labels: Advanced, C, c advanced concepts, c for geeks, C interview questions, Concepts, Interview questions, questions asked in tally interview
    #include <stdio.h> void main()  {  printf("%d", NULL);  } output :  0 because keyword NULL is defined in a macro ...
    Read more »
    Email This BlogThis! Share to X Share to Facebook
  • 0

    Hashing In C

    Unknown at 12:09 | Labels: Advanced, C, c advanced concepts, c for geeks, C interview questions, Concepts, Interview questions, questions asked in tally interview
    Not ever problem can be solved by hashing. But most of the interview questions are asked from hashing only. SO always be updated on this to...
    Read more »
    Email This BlogThis! Share to X Share to Facebook
Newer Posts Home
  • Home

Tags

  • Advanced (16)
  • C (16)
  • c advanced concepts (16)
  • c for geeks (16)
  • C interview questions (16)
  • Concepts (16)
  • files (1)
  • Interview questions (16)
  • libraries (1)
  • macros (1)
  • preprocessor (1)
  • questions asked in tally interview (16)

Total Viewers

Blog Archive

  • ►  2013 (1)
    • ►  11/17 - 11/24 (1)
  • ▼  2012 (55)
    • ►  10/28 - 11/04 (1)
    • ►  10/07 - 10/14 (2)
    • ►  09/02 - 09/09 (4)
    • ►  08/26 - 09/02 (3)
    • ►  08/19 - 08/26 (4)
    • ►  08/12 - 08/19 (9)
    • ►  08/05 - 08/12 (10)
    • ►  07/29 - 08/05 (8)
    • ▼  07/22 - 07/29 (14)
      • Error Type: LValue required
      • Important Difference between pointer to string and...
      • which one is declaration and which one is definition?
      • Tricky Question asked in tally
      • How to make a C function to be visible inside a fi...
      • World's First Worm
      • Array and String related Interview questions asked...
      • Few rules which every C compiler has to comply with
      • Which came first, Unix or C?
      • Outputs of following programs
      • output of following c program
      • What is the output of following program?
      • Beginner C: Learn about 'NULL' Keyword
      • Hashing In C

Authors

Unknown
View my complete profile

Online Friends

Tutorials And Books

1. C Introduction

2. Data Types in C

3. Pointers

4. Play with strings

5. Best Interview Questions

6. Download C Books

7. Memory allocation

Be a part of our C - Family

Popular Posts

  • Connect oracle with C/C++
    Interviewers often ask can you connect C/C++ with database or not? It is tricky for those who haven't done it before. But the answer...
  • Memset(),memcpy() and memmove() functions in c
    The memset() Function To set all the bytes in a block of memory to a particular value, use memset(). The function prototype is void * me...
  • Beginner level: %g,%e,%E,%G in C
    GUYS IF YOU REALLY LIKE THE POSTS OF THIS BLOG THEN PLEASE JOIN OUR BLOG. AND HELP US TO PUT MORE POSTS LIKE THIS. PLEASE HIT THE LIKE B...
  • Fun with pointers
    A pointer is a special kind of variable. Pointers are designed for storing memory address i.e. the address of another variable. Declaring ...
  • How to make a C function to be visible inside a file only
    Whenever you define a C function, its name is globally visible by default. You can prefix the function name with the redundant extern k...
  • Play with strings
    In C language Strings are defined as an array of characters or a pointer to a portion of memory containing ASCII characters. A string in ...
  • Yaho!: Easiest question ever(judge the output)
    What should be the output of this program? void main() {   int y=5,z=6;   if(y || ++z)   {      printf("\ny=%d",y);    pr...
  • Array and String related Interview questions asked in Google
    1.1 Implement an algorithm to determine if a string has all unique characters. What if you can not use additional data structures? _ ___...
  • Famous interview questions
    Question 1:Difference between const char* p and char const* p? In const char* p, the character pointed by ‘p’ is constant, so u cant ch...
  • Amazon: You are probably the master of C, if you can answer this beginner level question
    Why we use inclusive lower bond and exclusive upper bond for array? confused? i.e why we see this syntax int a[10]; for(i=0;i<10;i...
 

© C for Geeks

Designed by WPart.org, Blogger templates by Blog and Web.