Passing array as pointer to function and using sizeof() operator
How to find the 'sizeof' (a pointer pointing to an array)?
Can you be refused a visitor visa to US if you have bad Credit there? I did my 3 years of College in the US, 2010-2013 due to finance issues I was unable to pay my credit card bill of a certain bank, which still lie unpaid.  However I plan on visiting the US later this year; could I be denied visa for having an unpaid bill ? Why can't I connect to Ubuntu One? I have purchase new laptop from Dell with ubuntu 12.04 preinstalled. while connecting to Ubuntu One following occurs and I am not able to sync with Ubuntu One.   WebClientErr u'Error downloading https://one.ubuntu.com/api/account/ - server replied:Not       Found' u'&lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;\n&lt;html&gt; &lt;head&gt;\n&lt;title&gt;404 Not Found&lt;/title&gt;\n&lt;/head&gt;&lt;body&gt;\n&lt;h1&gt; Not Found&lt;/h1&gt;\n&lt;p&gt;The requested URL /api/account/ was not found on this server. &lt;/p&gt;\n&lt;hr&gt;\n&lt;address&gt;Apache/2.2.22 (Ubuntu) Server at one.ubuntu.com Port 443 &lt;/address&gt;\n&lt;/body&gt;&lt;/html&gt;\n' Interview: How to ensure that a thread runs after another? Principle of Reflection on atomic level This well-observed phenomenon has, besides several others, always been a fascination to me. We are well aware of several theories, experiments, and practical applications of this well-known phenomenon, but is it established what goes on at the grassroots of reflection?  My high school teacher once told me that whenever light is incident on any reflecting surface, its electrons absorb the energy of the photon and release back the same energy. If this is actually true, then I have plenty of questions to continue, but if it is not, then what is reflection, and how and why does it take place? If $\sum_{1}^{\infty}(a_n)^3$ diverges, does $\sum_{1}^{\infty}(a_n)$? How can I make a plane's edges taper inwards? How can I deform one edge or multiple edges of a plane or cube so they are tapered in and rounded equally? Quadratic Formula in Complex Variables How to access Render Result pixels from python script? Render Result exists in bpy.data.images["Render Result"] but it contains no data.  Also bpy.data.images["Render Result"].size[0] is 0, even if the render shows as an image in the UV/Image Editor with a width of 1366.  Maybe the render result cannot be accessed as an image or I missing some update or refresh call somewhere but I can't find such a thing in the 2.68 API documentation.  Any tip in the correct direction appreciated. Maps from subsets of $\mathbb{R}^2$ that are either open/closed/continuous I'm self studying J. Lee's Introduction to Topological Manifolds, and after doing all other exercises on chapter 2, I can't seem to come with the proper counterexamples for this one.      For each of the following properties, give an example consisting of two subsets $X, Y \subset \mathbb{R}^2 $, both considered as topological spaces with their Euclidean topologies, together with a map $f: X \rightarrow Y$ that has the indicated property.         Open but not closed/continuous   Closed but not open/continuous    Continuous but not open/closed         etc... (all cases)   I think the reason for my difficulty is a lack of geometric intuition of what open, closed and continuous maps look like as deformations of shapes in $\mathbb{R}^2$ (I can construct counterexamples from artificial made up spaces).   I tried squashing balls and 'pumping space' into lines, as well as joining strips in annulus shapes, but all the examples I seem to come up with are either too well behaved (i.e. all 3) or too misbehaved.   Instead of a case by case answered I would prefer a couple worked out cases and some intuition on how to visualise open / closed maps in this context. Short story with aliens who hear their own thoughts as god-like voices I would have read this about 20-25 years ago.  I believe the subject was an alien individual, but it could have been a non-standard human instead.  The hook of the story was that the subject lacked an organ like the  that allows the halves of the brain to communicate efficiently, allowing the illusion of a single consciousness.  The subject is conscious, and has thoughts, but is subject to hearing commands like "Wash your hands!" "Fetch water!" within its head.  I recall the subject (and others like the subject) believing that the voices are their gods talking to them.  To the reader it becomes clear that this is a separate part of the subject's own mind that is responsible for long-term planning and simply can't communicate with the rest of the mind in the way a "normal" human is accustomed to. Spice containers purchase  I'm planning on upgrading my spice storage. Reading some advice online (e.g. , and ) I came to the conclusion that spice containers should:   Not be exposed to direct sunlight and high temperatures Be airtight   Which means that either you store it inside of some closed cupboard/wardrobe/room or you have containers which do block light and are in a relatively shady place. And the containers need to be airtight.  Available solutions  I've been browsing for some containers available online in my country and the 2 most sensible options I've seen are these:       The problem  The first one is hermetic (it has some rubber around the lid) but it's clear glass. The other one does not have the rubber, just a regular twist-off lid, but it's amber glass.  It'll be hard for me to find any space inside of cupboards to store all of my spices (I need at least 30), so I'd rather buy amber glass container, which I believe will effectively block the sunlight, even when kept on the counter. But I can't find any hermetic amber-glass containers, only ones with regular lid.  The question  Is that regular twist-off lid enough to keep spices airtight and fresh? Or should I focus on buying a hermetic container (like the one in clear glass). I could then for example paint them black to block the sunlight. What is the term for the grandson of my aunt? I know that $$\gcd(a^b-1,a^c-1)=a^{\gcd(b,c)}-1$$ which can be seen by expanding both terms into geometric series. Is there any such simplification for $$\gcd(a^b+1,a^c+1)=?$$  EDIT: When working with polynomials instead of whole numbers, it is $$gcd(x^n+1,x^m+1)=\begin{cases}a^{\gcd(n,m)}+1 &amp; \nu_2(n) =\nu_2(m)\\1 &amp;\text{else}\end{cases}$$ But this gives only a lower bound for the whole-number case. Question is :  Suppose $X$ is a topological space of infinite cardinality which is homeomorphic to $X\times X$. Then which of the following is true:   $X$ is not connected. $X$ is not compact $X$ is not homeomorphic to a subset of $\mathbb{R}$ None of the above.   I guess first two options are false.  We do have possibility that product of two connected spaces is connected.  So, $X\times X$ is connected if $X$ is connected. So I guess there is no problem.  We do have possibility that product of two compact spaces is compact.  So, $X\times X$ is compact if $X$ is compact. So I guess there is no problem.  I understand that this is not the proof to exclude first two options but I guess the chance is more for them to be false.  So, only thing I have problem with is third option.  I could do nothing for that third option..  I would be thankful if some one can help me out to clear this.  Thank you :) Why is it important to apply transformation to an objects data? I've watched several tutorials and very often they applied the location, rotation or scale to the object when they transformed it in Object Mode. They always said it is important, but why? Matrix in a matrix I would like to draw a matrix with top left, top right, bottom left and bottom right blocks. The top left should be a 3x3 matrix with numerical entries, the top right is 0, the bottom left is 0 and the bottom right is just a "single" entry uJ. Here is my attempt.    $ \left[ \begin{array}{c|c} [\begin{array{c|c|c} 0 &amp; 0 &amp; 2\mathrm tr(MM^{*}) \\ 0 &amp; 0 &amp; -ua \\ u &amp; -ua &amp; 0 \end{array}]     &amp;  0\\ \hline 0 &amp; uJ  \end{array}\right]. $    I would like to emphasize that the non-top-left entries are not just single entries, but blocks, so I do not want to just make a 4 by 4 matrix with vlines and hlines and additional 0's. A geometric reason why the square of the focal length of a hyperbola is equal to the sum of the squares of the axes? About free quarks and confinement I simply know that a single free quark does not exist. What is the reason that we can not get a free quark?  If we can't get a free quark then what is single-top-quark? I'd like to get an advanced frame in Firefall. I've been told that I can use "Pilot Tokens" to unlock other frames without having to pay money.  How soon would I be able to unlock an advanced frame? Do I have to level a base frame all the way to level 40? More than once? How can I solve the following sequence Let we have the following sequence  $$y_n= \frac{1}{\sqrt{n^2+1}}+\frac{1}{\sqrt{n^2+2}}+\cdots+\frac{1}{\  \sqrt{n^2+n}}$$ find the limit of the sequence $y_n$ decide whether it is increasing or decreasing