Details verified of Kalyani S.✕
Identity
Education
Know how UrbanPro verifies Tutor details
Identity is verified based on matching the details uploaded by the Tutor with government databases.
Online Classes Malayalam Mother Tongue (Native)
English Proficient
Tamil Basic
Hindi Basic
Kerala university Pursuing
Bvoc software development
Thottakkad, Chirayinkeezhu, India - 695605
Phone Verified
Email Verified
Report this Profile
Is this listing inaccurate or duplicate? Any other problem?
Please tell us about the problem and we will fix it.
Class Location
Online class via Zoom
Student's Home
Tutor's Home
Fees
₹ 200.0 per hour
Board
CBSE, State
Subjects taught
Computer Science, English, Malayalam, Science, EVS, Computers, Mathematics
Taught in School or College
No
Class Location
Online class via Zoom
Student's Home
Tutor's Home
Board
CBSE
Subjects taught
Computer Science, English
Taught in School or College
No
Class Location
Online class via Zoom
Student's Home
Tutor's Home
Board
CBSE, State
Subjects taught
English, Computer Science
Taught in School or College
No
Answered on 10/04/2021
Ask a Question
Without using a third variable:
#include<stdio.h>
int main()
{
int a=10, b=20;
printf("Before swap a=%d b=%d",a,b);
a=a+b;//a=30 (10+20)
b=a-b;//b=10 (30-20)
a=a-b;//a=20 (30-10)
printf("\nAfter swap a=%d b=%d",a,b);
return 0;
}
With and help of pointers:
#include <stdio.h>
int main()
{
int var1, var2, *num1, *num2, temp;
printf("Enter the value of var1 and var2n");
scanf("%d%d", &var1, &var2);
printf("Before Swappingnvar1 = %dnvar2 = %dn", var1, var2);
num1 = &var1;
num2 = &var2;
temp = *num2;
*num2 = *num1;
*num1 = temp;
printf("After Swappingnvar1 = %dnvar2 = %dn", var1, var2);
return 0;
}
Ask a Question
Also have a look at
Class Location
Online class via Zoom
Student's Home
Tutor's Home
Fees
₹ 200.0 per hour
Board
CBSE, State
Subjects taught
Computer Science, English, Malayalam, Science, EVS, Computers, Mathematics
Taught in School or College
No
Class Location
Online class via Zoom
Student's Home
Tutor's Home
Board
CBSE
Subjects taught
Computer Science, English
Taught in School or College
No
Class Location
Online class via Zoom
Student's Home
Tutor's Home
Board
CBSE, State
Subjects taught
English, Computer Science
Taught in School or College
No
Answered on 10/04/2021
Ask a Question
Without using a third variable:
#include<stdio.h>
int main()
{
int a=10, b=20;
printf("Before swap a=%d b=%d",a,b);
a=a+b;//a=30 (10+20)
b=a-b;//b=10 (30-20)
a=a-b;//a=20 (30-10)
printf("\nAfter swap a=%d b=%d",a,b);
return 0;
}
With and help of pointers:
#include <stdio.h>
int main()
{
int var1, var2, *num1, *num2, temp;
printf("Enter the value of var1 and var2n");
scanf("%d%d", &var1, &var2);
printf("Before Swappingnvar1 = %dnvar2 = %dn", var1, var2);
num1 = &var1;
num2 = &var2;
temp = *num2;
*num2 = *num1;
*num1 = temp;
printf("After Swappingnvar1 = %dnvar2 = %dn", var1, var2);
return 0;
}
Ask a Question
Reply to 's review
Enter your reply*
Your reply has been successfully submitted.
Certified
The Certified badge indicates that the Tutor has received good amount of positive feedback from Students.