Search:

Type: Posts; User: ankiit

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,952

    Hi, Thanks a lot for the information. :) ...

    Hi,


    Thanks a lot for the information. :)

    where would one like to use a while loop instead of the for loop.

    thanks
    ankit
  2. Replies
    6
    Views
    1,952

    Hi, is there any technical difference apart...

    Hi,

    is there any technical difference apart from the structure of the two loops as i can guess that the condition is the same, though iteration is a part of the loop body in while loop whereas the...
  3. Replies
    6
    Views
    1,952

    Difference between for and while loop

    Hi,

    Can anybody please explain the Difference between for and while loop?

    Thanks
    Ankit
  4. Replies
    11
    Views
    1,299

    Hi, Thanks a lot for the information. Apart...

    Hi,

    Thanks a lot for the information.

    Apart from class getting too lengthy because of function definition, can there any other reason to define the function outside of the class?

    regards,...
  5. Replies
    11
    Views
    1,299

    Why do we define functins outsude the class?

    Hi,

    I have a little confusion as to yhy do we define functins outsude the class?

    This defining of functions require extra "::" to be used that increases work of a programmer, there must be a...
  6. Replies
    11
    Views
    18,796

    yes i mean string. :).. can you please show...

    yes i mean string. :)..

    can you please show an example of the sample code.

    thanks
    ankit
  7. Replies
    11
    Views
    18,796

    Hi, is isdigit(ch) function a system defined...

    Hi,

    is isdigit(ch) function a system defined function?
  8. Replies
    11
    Views
    18,796

    check if input is int float or char

    Hi All,

    is there any way by which we can determine whether the value keyed in by the user is char, float or int?

    Thanks in advance.

    regards,
    Ankit
  9. but what does char *fgets () mean ?

    but what does char *fgets () mean ?
  10. What's the purpose of declaring function as pointers?

    Hi Mentors,

    I am bit confused as why does one need to declared the functions as pointers.

    For example I was going through fgets functions which has the following prototype defined in stdio.h
    ...
  11. Thread: Please Help

    by ankiit
    Replies
    6
    Views
    1,120

    Hi Tim, Thanks a lot , got your point. :) ...

    Hi Tim,

    Thanks a lot , got your point. :)

    regards,
    Ankit
  12. Thread: Please Help

    by ankiit
    Replies
    6
    Views
    1,120

    Hi, Thanks a lot for the suggestion, though...

    Hi,

    Thanks a lot for the suggestion, though this solved the problem I was having but I am still doubtful why did it worked, as *var refers value at the address stored in <var>, while var stores...
  13. Thread: Please Help

    by ankiit
    Replies
    6
    Views
    1,120

    Hi, I didn't get your point, can you please...

    Hi,

    I didn't get your point, can you please explain the same briefly.

    Thanks
    Ankit
  14. Thread: Please Help

    by ankiit
    Replies
    6
    Views
    1,120

    Please Help

    Hi Mentors,

    Please help me with the following code,



    #include<stdio.h>
    void main()
    {
    int num1, num2;
  15. Replies
    4
    Views
    973

    Thanks :)

    Thanks :)
  16. Replies
    4
    Views
    973

    Loop and Fucntions

    Hi Mentors,

    I am total newb.

    Can please someday explain the difference between a function and loop, both are used so as not to write the same piece of code again and again.

    kind regards,...
Results 1 to 16 of 16