Note 1

Take Note:

Take a note while surfing.





Note With Ink

Give your Note a Colorful Tag.




Easy to Access

Stay on same information and in Sync wherever you are.

Note 2

Take Note:

Organize your information,It may take Shape.





Think With Ink

Differ your Content by Color.




Easy to Access

Easy to pull up your content from anywhere anytime.

Note 3

Take Note:

Don't Let information to miss,Because it take shape





Note With Ink

Simple an Easy Way to take a note.




Easy to Access

Get the same in next visit.

Programs Questions and Answers



    Question :: 21
    Write a program to print in the format 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5

    Input : NA


    Output : NA

    View Answer View Answer |  Basics |  Discuss in Forum | Add to Reading List To Reading List | Tag to companies Asked In |  Fresher
    Answer In: C  
     
    <pre>
    <span class="marker">#include <stdio.h>
    #define MAX 5
    int main()
    {
      int i,j,s=4,n=1;
      for(i=0;i<MAX;i  )
      {
        for(j=0;j<s;j  )
        {
          printf(" ");
        }
        for(j=0;j<=i;j  )
        {
          printf("%d ",n);
          
        }
        n  ;
        printf("\n");
        s--;
      }

    }</span></pre>
    Tags:

    Virtusa 

    Question :: 22
    Write a program to generate the next number (ex:143=1^2+4^2+3^2=26)repeat this sequence till you get 1 or 4.

    Input : NA


    Output : NA

    View Answer View Answer |  Stack |  Discuss in Forum | Add to Reading List To Reading List | Tag to companies Asked In |  Fresher
    Answer In:
     No Discussion on this question yet!
    Tags:

    Virtusa 

    Question :: 23
    Write a program to eliminate duplicates in a sorted array.

    Input : NA


    Output : NA

    View Answer View Answer |  Array |  Discuss in Forum | Add to Reading List To Reading List | Tag to companies Asked In |  Fresher
    Answer In:
     No Discussion on this question yet!
    Tags:

    Virtusa 

    Question :: 24
    Write a recursive function to print 100 Fibonacci numbers.

    Input : NA


    Output : NA

    View Answer View Answer |  Basics |  Discuss in Forum | Add to Reading List To Reading List | Tag to companies Asked In |  Fresher
    Answer In:
     No Discussion on this question yet!
    Tags:

    Virtusa 

    Question :: 25
    Write a program to Print the Pascal triangle.

    Input : NA


    Output : NA

    View Answer View Answer |  Basics |  Discuss in Forum | Add to Reading List To Reading List | Tag to companies Asked In |  Fresher
    Answer In: C  
     
    <pre>
    <tt>#include<stdio.h>
    int main()
    {
      int i,j,k,s=1,n=5;
      for(i=0;i<n;i  )
      {
        for(k=1;k<=n-i;k  )
        printf(" ");
        for(j=0;j<=i;j  )
        {
          if(j==0||i==0)
            s=1;
          else
            s=s*(i-j 1)/j;
          printf("-",s);
        }
        printf("\n");

      }
    }</tt></pre>
    Tags:

    Virtusa 

    Question :: 26
    Write a program to print the angle between the pointers in the wall clock when time is taken as input.

    Input : NA


    Output : NA

    View Answer View Answer |  Basics |  Discuss in Forum | Add to Reading List To Reading List | Tag to companies Asked In |  Fresher
    Answer In:
     No Discussion on this question yet!
    Tags:

    Virtusa 

    Question :: 27
    Can trees be implemented using arrays? If so, write the program for same.

    Input : NA


    Output : NA

    View Answer View Answer |  Trees |  Discuss in Forum | Add to Reading List To Reading List | Tag to companies Asked In |  Fresher
    Answer In:
     No Discussion on this question yet!
    Tags:

    Virtusa 

    Question :: 28
    Write a Swapping program using XOR operation.

    Input : NA


    Output : NA

    View Answer View Answer |  Basics |  Discuss in Forum | Add to Reading List To Reading List | Tag to companies Asked In |  Fresher
    Answer In:
     No Discussion on this question yet!
    Tags:

    Virtusa 

    Question :: 29
    Write a program of Circular Queue.

    Input : NA


    Output : NA

    View Answer View Answer |  Stack |  Discuss in Forum | Add to Reading List To Reading List | Tag to companies Asked In |  Fresher
    Answer In:
     No Discussion on this question yet!
    Tags:

    Virtusa 

    Question :: 30
    Write a function which returns a sub string in the string 'Sigma' (character given) which starts with 'Alpha' and ends with 'Theta'.

    Input : NA


    Output : NA

    View Answer View Answer |  Strings |  Discuss in Forum | Add to Reading List To Reading List | Tag to companies Asked In |  Fresher
    Answer In:
     No Discussion on this question yet!
    Tags:

    Virtusa