Search:

Type: Posts; User: SONU

Search: Search took 0.00 seconds.

  1. Thread: Power

    by SONU
    Replies
    49
    Views
    7,315

    u r doing one extra multiplication. either put ...

    u r doing one extra multiplication.
    either put i=1 (in red line)
    or put while(i<n) (in blue line)
  2. No. Only difference between union and structure...

    No. Only difference between union and structure is the way they get stored in memory.
  3. i dont think that its schools responsiblity to...

    i dont think that its schools responsiblity to comfirm that every student has understand concept throuout. Its inpracticle too. Cause if there are 50 students in class, what do u think how many of...
  4. Replies
    10
    Views
    4,733

    bool initialize(short int locationX, short int...

    bool initialize(short int locationX, short int locationY, short int imageheight, short int imagewidth)
    {
    dest.x = 100;
    dest.y = 100;...
  5. Replies
    1
    Views
    2,150

    optimising program

    I have developed following program which takes two sets as input and
    returns union and intersection set.




    #include <stdio.h>
    #include <conio.h>
    #include <math.h>
    #include <stdlib.h>
  6. Thread: Idiot guide

    by SONU
    Replies
    20
    Views
    2,558

    Your code is: int i = 9; for (i--; i--;...

    Your code is:


    int i = 9;
    for (i--; i--; i--)
    printf("&#37;d", i);

    This code gives same results as you say 7531

    I will write same loop in different manner
  7. Replies
    17
    Views
    2,042

    He is right. Also i think you like to do ...

    He is right. Also i think you like to do



    do
    {
    printf("enter option here: ");
    scanf("&#37;d",&option);
    switch ( option )
Results 1 to 7 of 8