#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2017
    Posts
    1
    Rep Power
    0

    Mostly Asked C Interview Questions


    Can anyone share c language interview question and answers
  2. #2
  3. Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Aug 2011
    Posts
    5,888
    Rep Power
    509
    void reverse(char*pc, int length); /* reverse the characters in the array in place. */

    void anysort(int*array; int length); /* sort the array in place, low to high */
    For anysort it is known that the data in array take the values 0 through 100, but the length could be quite long.


    Show how to turn this program into an executable on the target (department's) operating system and environment.
    Code:
    #include<stdlib.h>
    #include<stdio.h>
    int main() {
      puts("hi world");
      return EXIT_SUCCESS;
    }
    [code]Code tags[/code] are essential for python code and Makefiles!
  4. #3
  5. Contributed User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2005
    Posts
    4,478
    Rep Power
    1875
    I wonder if 'indupriya1' will show up with some spammy site in response to this question, like they both did on cprogramming.com.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper

IMN logo majestic logo threadwatch logo seochat tools logo