15,900,511 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by kumar_11 (Top 13 by date)
kumar_11
7-Feb-14 3:39am
View
That's great.
What about this if I write like..... ++i * ++i * i++ * ++i
Can You tell me the answer.
kumar_11
5-Dec-13 1:31am
View
I am so sorry for my wrong words as I write constructor in place of function and yes, thanks a lot for the solution.I will try the whole concept and will let you know if anything left.
kumar_11
4-Dec-13 15:01pm
View
thanks for the answer. Is it doable through friend function ?
kumar_11
1-Dec-13 16:26pm
View
Let me try it then I will be able to tell you anything.
kumar_11
24-Nov-13 4:16am
View
Here is what I have written, Kindly correct me where I am wrong.
kumar_11
24-Nov-13 4:08am
View
Deleted
#include < stdio.h >
int main()
{
int m,n,i,j,num;
printf("enter the value of raws and column: \n");
scanf("%d%d",&m,&n);
int arr[m][n];
printf("enter elements of the matrix: \n");
for(i = 0; i < m; i++)
{
for(j = 0; j < n; j++)
{
printf("element at arr[%d][%d]: ", i, j);
scanf("%d", &arr[i][j]);
}
}
printf("entered matrix is: \n");
for(i = 0; i < m; i++)
{
for(j = 0; j < n; j++)
{
printf("%d\t", arr[i][j]);
}
printf("\n");
}
for(i = 0; i < m; i++)
{
for(j = 0; j < n; j++)
{
num = arr[i][j];
arr[i][j] = arr[j][i];
arr[j][i] = num;
}
}
printf("\ntranspose matrix is: \n");
for(j = 0; j < n; j++)
{
for(i = 0; i < m; i++)
{
printf("%d\t", arr[j][i]);
}
printf("\n");
}
}
kumar_11
24-Nov-13 3:47am
View
Thank you so much for the answer.
I request you to write the code here because I tried so hard but still not getting result.
kumar_11
23-Nov-13 14:27pm
View
I really appreciate your way of making things clear.
Just one doubt of mine,Is it doable where the condition arises like raw!=column.
kumar_11
3-Oct-13 18:33pm
View
why static const data definition is allowed inside the class..?
kumar_11
3-Oct-13 18:32pm
View
One more thing, why static const data definition is allowed inside the class..?
kumar_11
3-Oct-13 18:31pm
View
why static const data definition is allowed inside the class..?
kumar_11
2-Oct-13 18:20pm
View
comment like:-
// int foo::count=0;
now try it.
kumar_11
2-Oct-13 16:21pm
View
Any example to understand..?
Show More