Q&A

write your question on comment we will try to solve it as soon as possible 

Comments

  1. what is the difference between '' and "" ?

    ReplyDelete
    Replies
    1. single quotes '' are used for character where as double quotes "" represent String .

      Delete
  2. \n aur endl me kya difference hai c++ quesion?

    ReplyDelete
    Replies
    1. endl is a keyword means end of line ,
      where as \n is escape literal mean end of line but it can only use inside the double quotes

      Delete
  3. Hello Sir, pehchan kaun ??

    ReplyDelete
  4. sir can u upload answer key for ascending order of array, with logic written ??

    ReplyDelete
    Replies
    1. int n, i, arr[50], j, temp;
      cout<<"Enter total number of elements :";
      cin>>n;
      cout<<"Enter "<>arr[i];
      }
      cout<<"Sorting array using bubble sort technique...\n";
      for(i=0; i<(n-1); i++)
      {
      for(j=0; j<(n-i-1); j++)
      {
      if(arr[j]>arr[j+1])
      {
      temp=arr[j];
      arr[j]=arr[j+1];
      arr[j+1]=temp;
      }
      }
      }
      cout<<"Elements sorted successfully..!!\n";
      cout<<"Sorted list in ascending order :\n";
      for(i=0; i<n; i++)
      {
      cout<<arr[i]<<" ";
      }

      Delete
  5. Replies
    1. Attribute Provide Special Functionality for Tags. For example Img tag with src attriute

      Delete

Post a Comment