Search:

Type: Posts; User: venki_2007; Keyword(s):

Search: Search took 0.00 seconds.

  1. Answers
    6
    Views
    12,905

    Re: null statement in c

    Hi!

    NULL statement is a statement, it end with semicolon ( ; or {without any body}) wherever we required,we can use this statement for some Time delay.

    if(1);

    for(i=0;i<10;i++);
    ...
  2. Answers
    6
    Views
    12,905

    Re: null statement in c

    Hi!


    The Null statement is nothing but, There is no body within loop or any other statements in C.
    This Statement is used for some time delay or the COMMENT /*C PROGRAM1*/ is also a null...
  3. Answers
    2
    Views
    3,218

    Re: structure and class

    Hi!

    Main difference between STRUCTURE and CLASS are follow:

    STRUCTURE:

    ------------> The Structure is a collection of dissimilar data types
    ------------> By...
  4. Answers
    15
    Views
    5,403

    Re: How is it calculated???

    Hi!

    you will check the program at TURBO C/C++ compiler
    To first case
    c=++a+ ++a+ ++a;
    if a=5
    c=24;
    To second case...
  5. Answers
    2
    Views
    3,225

    Re: unexpected end of file

    Hi!

    You will send your code or error line that i will suggest you.
    Hence, you may done error in your program or i will give alternative to that pgm.


    Regards
    venkat.G
  6. Answers
    1
    Views
    3,964

    Re: Runtime error segmentation fault

    Hi!

    If you will use malloc() at your program in linux environment then you should add the slab.h as well as included files in slab.h....
  7. Answers
    15
    Views
    5,403

    Re: How is it calculated???

    Hi!

    your second case output is 15
    c=a++ +a++ +a++;

    The "+" "=" operators are first precedence then post increment operator "++" ...
  8. Answers
    15
    Views
    5,403

    Re: How is it calculated???

    Hi!

    Your first case output is 24
    c=++a+ ++a+ ++a;--->(1)

    In every step "a" value is change it's memory location.

    Finally a=8; i.e &a=8;

    so, c=(++a)+ (++a)+...
  9. Answers
    15
    Views
    5,403

    Re: How is it calculated???

    Hi!

    In this equatin c=++a+ ++a+ ++a;
    The "a " value is changing every step so, ++a is consider as a=1+a;
    In this case, "a" value is changing it's memory location(&a).
    ...
Results 1 to 9 of 9
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact