Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C program for bubble sort:
void main()
{
int i,j,k,a[10],n;
clrscr();
printf("How many values you want to enter\n");
scanf("%d",&n);
for(i=0;i<=n-1;i++)
printf(" %d no?\n",i+1);
scanf("%d",&a[i]);
}
for (i=0;i<=n-1;i++)
for(j=0;j { if (a[j]>a[j+1]) { k=a[j+1]; a[j+1]=a[j]; a[j]=k; } } for(i=0;i<=n-1;i++) printf("%d\n",a[i]); getch(); }
if (a[j]>a[j+1])
{ k=a[j+1];
a[j+1]=a[j];
a[j]=k;
for(i=0;i<=n-1;i++) printf("%d\n",a[i]);
getch();
A: In C++ the access privileges are public, private and protected. The default access level assigned to members of a class is private. Private members of any class are accessible o
A: The procedure of encoding the parameter types along with the function/method name into a unique name is called as name mangling. The inverse procedure is called demangling. F
How do you declare an integer variable? Explain with an example.
write aprogram in c++ to overload +,-,=,++ operator using unary and friend function in a single program
Explain the Macros? Preprocessor' is a translation stage that is applied to your source code before the compiler proper gets its hands on it. Usually the preprocessor performs
Example of structure: struct item { int element; node_ptr next; }; typedef node_ptr stack; stack create(void) {
program to find if a no . is prime or not
Program to check even and odd numbers: int main() { int your_number; cout cin >> your_number;
find out damjibhai can win
Within C we access external devices by means of a pointer i.e. address. The address could point to any memory mapped device i.e. Ram, Rom, Duart, Disk drives etc. Therefore there i
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd